INFDS Questions

1

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

Answer Question   |  March 19, 2012  7:29 AM
AS400 Data Definitions, AS400 iseries, INFDS
asked by:
200 pts.

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 Structures d Infds       ds                                    INFDS data structure d Currec                [...]

Answer Question   |  March 6, 2012  6:20 AM
INFDS, RPGILE
asked by:
130 pts.

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 [...]

Answer Question   |  June 15, 2012  8:49 AM
AS/400, INFDS, iSeries, RPF
asked by:
Kar
425 pts.

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?  

Answer Question   |  December 25, 2011  6:54 PM
AS/400, INFDS, RPG, RRN, Subfile
asked by:
165 pts.

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

Answer Question   |  June 15, 2012  11:33 AM
AS/400 DB2, AS/400 Records, DB2/400, INFDS
asked by:
895 pts.

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 [...]

Answer Question   |  September 29, 2009  6:22 PM
INFDS, RPGLE
asked by:
895 pts.

1