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
which cl command is used to trap error messages during program execution?
what the purpose of ovrdta, ovrata keywords?
The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...
define the purpose/use for sflrna?
Difference Between Interactive & Batch Job?
How Many Specs Are There In Rpg & Which Are They?
how can a cgi check whether an ifs object is available?
how will you find a string using pdm?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
What is file information data structure(infds) in as400?
what is service program?
which indicator is used for read?
what does check opcode is used?
how can you detect and handle a record lock situation?
difference between sflrcdnbr and sflnxtchg?