how can you check for a records existence without causing and i/o (chain/read)?
Answer / kanckan singh
With the help of File Information Data Structure, we can check existence of records in a physical file. The code is described below:
In File description continuation line (IPFK),
KINFDS RCDS
IRCDS DS
I*RECORD
#RCDS
with the above code we can check the existence of records in a file without causing I/O operation.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the record format field mapping options in cpyf?
what is the purpose of DMPCLPGM IN CL?
What is the use of SDA ?
Define a Batch Job?
what is code for reading member in rpgle when wehave like extmbr(*all) so we have 3 members in *all then i want to read first record in 2member
can a indexed file be accessed in arrival sequence in rpg program?
what is the difference between packed decimal and zoned decimal?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
What is LEVEL CHECK?
What Does Lokup Does In Tables & Arrays?
How to avoid using indicators in ile ?
DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN SERVICE PGM...when using binding directory service pgm is necessary?