• RPGIV – numeric field to character field

    Experience shows you cannot move a numeric field to a character field using EVAL - so what is the best method? Is Movel the only way? Thanks.

    NeilD450 pointsBadges:
  • S/36 RPG program using a Data Area

    We enter in vouchers from a variety to locations. All of the voucher entry programs are written in RPG IV and use a Data Area to get the next voucher, update the data area using lock in/out. This all works very well. We have an older S/36 program that populates Employee Expenses into the voucher...

    Superbusy15 pointsBadges:
  • How do you know if a record exists without doing a READ and CHAIN?

    How do you know if a record exists without  doing a READ and CHAIN? is it possible with BIF's or ?

    721115 pointsBadges:
  • About record & object lock

    When a record will be locked and object will be locked? what is the level identifier parameter in PF?

    721115 pointsBadges:
  • Date Formatting in RPG

    I have a date in a DATE type field in *ISO format (ccyy-mm-dd) However, I want to extract the YY portion. Using %SUBDT(field: *Y) returns CCYY. Is there a nice way of doing this without using a data structure?

    Ricca100 pointsBadges:
  • What is the difference between ‘Return’ and ‘LeaveSr’ in subroutine?

    What is the difference between 'Return' and 'LeaveSr' in subroutine?

    721115 pointsBadges:
  • Empty Date Type Variable

      What does a *ISO Date type variable contain if it is not populated? It is not *Zero or *Null???  

    Ricca100 pointsBadges:
  • RPG IV Date Formatting

    What is the best and cleanest way to convert a character date dd / mm / yy to *ISO format?

    Ricca100 pointsBadges:
  • Qualified Data Structures

    What is a Qualified Data Structure? Where can I find information on them? IBM RedBooks dont seem to have the answer????

    Ricca100 pointsBadges:
  • How to determine the RPG version

    Hi, Can you tell me how to know the RPG version (III or IV) in our AS400? Also, if it's ILE? Thank you.

    Sanchezedwin215 pointsBadges:
  • Xing out of an AS400 session

    We have several users who instead of properly signing off the AS400, they simply X out of it. This is causing several problems such as files are being locked. Is there any way I can prevent users from Xing out of an AS400 application?

    GHENDER190 pointsBadges:
  • How to find out which embedded SQL taking more time in RPGIV program

    Hi All, I have 4 Embedded SQLs in my RPGILE program. Can any one tell me how to find out which SQL taking more time to execute ? are there any commands/methods to find out ?

    Mohan K695 pointsBadges:
  • Convert character field in decimal field.

    hi, everybody i need a help for this: waval = 15A wnval = 15 2 i put in my source this eval wnval = %dec(waval:15:2) but when i run the program stop with error in this line. what i need to do, because i want this example: waval = 123456789012345 wnval = 123456789012345.00 but if i put this: waval =...

    BUG68235 pointsBadges:
  • Quarter calculation

    I have a fiscal calendar that runs from March to February. I need to be able to calculate the quarter number and determine the months that compose that quarter. Doing all of this with out prompting the user.

    AS400PCFileTransfer16115 pointsBadges:
  • Create XML with RPG IV

    Create XML with RPG IV

    Cyndie5 pointsBadges:
  • random number

    Can anyone pos thet code in RPG 4 or logic to generate random number....?

    Harshaljg10 pointsBadges:
  • Pop-Up Calendar with RPG

    I found a link that would show me how to code a pop-up calendar on the AS400. However, when I went to that link, it was invalid. Does anyone know how to create RPG code for a pop-up calendar on the AS400?

    GHENDER190 pointsBadges:
  • how do you code a table in rpg

    I need to code a table in rpg iv. I'm new to rpg and need assistance on coding techniques as it pertains to creating a table in a rpg iv program

    Simobam10 pointsBadges:
  • barcoding

    how do I print a barcode in the output specs of an RPG IV source program?

    Svitale5 pointsBadges:
  • Tools for example unit test source RPG

    I need tool for test code. any proposals ???

    RPG19825 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following