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
Difference Between Call & Sbmjob?
define subsystem?
Difference Between Skip Before & Space Before?
What are the mandatory keywords of sub file?
how can I control the way a remote browser uses its cache?
how does union file maintains record formats?
what is sflpag and sflsiz ?
what is the sequence when using cursor?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
which are the figurative constants used in rpg?
how many files can be defined in f specs?
how do you specify the number of records to roll in a subfile ?
how do u compile rpgle program?
how do you use exceptional write in c specs?
how can you execute a command from within an rpg program without calling a clp program?