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 library list ?
define the purpose of the *cat function?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
What is the purpose of OPNQRYF (Open Query File)?
How we can delete all the Logical File of a Physical file in one instance ?
what is the correct about QTEMP library(below mention)? a.it is Unique to a job b.it can be shared between different job c.it can only be deleted by QSECOFR d.Non Please give me the answer for this?
What is a Member?
What is the Difference between command attention key and command function key ?
How can we arrange duplicate records in a file?
is it possible to create a join logical file using two join logical files ? give exact reason for your answer
What is LDA?
How many PARM statement can we use in a CL program?