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

What is the use purpose of CRTCMD?

1 Answers  


where exactly we can use OPNQRYF ?

3 Answers   TCS,


What is the use of L specs in RPG?

1 Answers  


what is *inzsr used for?

1 Answers   IBM,


What are the steps to retrieve the records from Journal file...?

1 Answers  






Can fields be concatenated INa logical file level?

1 Answers  


how do you pass parameters in cl?

1 Answers   IBM,


How to trap errors in CL?

1 Answers  


Hello friends, i am new to AS/400. Can any one help me in AS/400 i meant say can you send me some FAQS and interview questions.

7 Answers   HanceInc, IBM,


I am fresher 2009 passedout.can you pls explain me what is AS400 and where it can be used and how about growth in the position as well as salary, whether it is a programming language or else?

3 Answers  


what is *iso date format?

0 Answers   IBM,


what is the difference between udate and the system date?

1 Answers   IBM,


Categories