how can you check for a records existence without causing and i/o (chain/read)?
Answer Posted / 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 |
Post New Answer View All Answers
What is difference between rename and prefix?
what is term cua , saa?
why is as/400 called object oriented machine?
How Many Specs Are There In Rpg & Which Are They?
What is the draw back of Procedures? why we are going to Modules?
what is cab?
how many files can be defined in f specs?
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
what is match field indicator?
how can u check no of records in a file?
Write a CL program which will run a batch job at 1 am every night
what is the function of cpyf command?
what are the different types of arrays available in rpg ?
what are different types of substems?
How to Define a Procedure in RPG?