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 purpose of the following FORDHDR1 CF E WORKSTN $2SFN SFILE FMT2
not all command typed on command line are cl command? true r false
how to get no of records in file in rpg with out cl cmd
what are the three types of keywords associated with printer file ?
what is OUTFILE?what is the uses and disadvantage? where we can use this?
What is the use of OVRPRTF ?
why do we use readc? What is sflnxtchg?
what is scan and xlate?
What is SDA used for?
What is the difference between externally described file and program described file?
what are members?
Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?