how can you check for a records existence without causing and i/o (chain/read)?



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

Post New Answer

More IBM AS400 AllOther Interview Questions

different type of cursor?

0 Answers   IBM,


can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

0 Answers   HCL,


What is the difference between /copy and /include in RPGLE?

1 Answers  


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

0 Answers   ITTI Pvt Ltd,


Define an Interactive Job?

1 Answers  






how can i convert hexadecimal value to packed value?

2 Answers   CGI,


OVRDBF FILE(xxx) TOFILE(libl/filename) share(*yes) In which scenario is share(*yes) used? could any one explain with an example?

3 Answers   IBM,


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

0 Answers  


Job is running in production 24/7 how do u debug that running job ?

1 Answers   Wipro,


diffrence between rename and prefix

2 Answers  


How can we find from which source the program has been compiled for a given RPGLE program object?

5 Answers  


when are the unique constraints executed?

0 Answers   IBM,


Categories