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 |
different type of cursor?
can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com
What is the difference between /copy and /include in RPGLE?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
Define an Interactive Job?
how can i convert hexadecimal value to packed value?
OVRDBF FILE(xxx) TOFILE(libl/filename) share(*yes) In which scenario is share(*yes) used? could any one explain with an example?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
Job is running in production 24/7 how do u debug that running job ?
diffrence between rename and prefix
How can we find from which source the program has been compiled for a given RPGLE program object?
when are the unique constraints executed?