1
  • Declare INFDS in RPGLE

    I declare INFDS in my program for a display file and use it to detect what key is pressed DChkfil DS D key_pres 369 369 This was working earlier and suddenly now I see in debug that the key_press variable is not working as earlier...... the variable shows one highlighted portion when i press F11 on...

    Nutangujar895 pointsBadges:
  • DB2/400 basics

    How will I find out total number of records in a DB file without causing any I/O operation?  Also How will I detect the existence of a record in a DB file without causing any I/O operation?  I think I can use INFDS and the field *RECORD but not sure how this works. Thanks, Nutan

    Nutangujar895 pointsBadges:
  • How to get the file name in RPG when file error/exception occured

    My program processes bulk of file updates, and I'm trying to figure out the file name that was failed in processing. However the limitation for INFDS is, we cannot use the same DS name for all the files declared in a program. And it's hectic to declare unique DS for each INFDS. Is there any...

    Kar425 pointsBadges:
  • as/400 INFDS

    by using INFDS i do not want to write duplicate record into PF what is the requirements for that? 

    Nikrajpapa230 pointsBadges:
  • What do numbers in INFDS/SDS declaration signify ?

    I am new to RPGLE .What is the meaning of numbers in D spec(eg:378 379B or 244 253).are there any others ways to declare INFDS or SDS ? fDROP2AD cf e          workstn INFDS(INFDS) f                                         SFILE(SUB01:RRN1) // Data...

    Supriyoas400130 pointsBadges:
  • Highest RRN in a Subfile

    Does anyone have the positions for the highest RRN on a Subfile? This was found in the old CPF programmer’s guide a hundred years ago. It was right after the Lowest RRN currently displayed on the subfile. This info comes from the INFDS. Are there examples?  

    Nickhutcheson165 pointsBadges:
1

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