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 elastic and non elastic subrile?
Difference Between Call & Sbmjob?
how do you specify page overflow indicator for printer files in rpg?
How to convert a spool file to PDF file in AS400?
what is *iso date format?
define a output queue?
which are the string manipulation opcodes?
Apart from opening of a file do we have any other use of USROPN?
how does union file maintains record formats?
what is sflinz and sflrna?
maximum number of subfiles that can defined in a rpg program for one display file is?
what is the purpose of data structure?
what are various techniques to pass parameters from one program to another?
how to write *pssr ?
Difference Between Skip Before & Space Before?