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 Is The Error If We Don't Get Login Screen?
how to declare a constant variable in the freeformat?
What is difference between CAT, TCAT, BCAT?
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
What is Job, What are the attributes of a Job?
how to run other job when one job is active?
When will you use OPEN and CLOSE opcodes in RPG program?
What is an Array Data Structure?
How to change file attributes such as size, file wait time, record wait time etc., permanently?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
what is rpg fixed logic cycle?
Can we add or remove the module object from service Program..and how...?