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 Error If We Don't Get Login Screen?

0 Answers   IBM,


how to declare a constant variable in the freeformat?

0 Answers  


What is difference between CAT, TCAT, BCAT?

1 Answers  


the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

1 Answers   IBM,


What is Job, What are the attributes of a Job?

1 Answers  






how to run other job when one job is active?

0 Answers   IBM,


When will you use OPEN and CLOSE opcodes in RPG program?

1 Answers  


What is an Array Data Structure?

1 Answers  


How to change file attributes such as size, file wait time, record wait time etc., permanently?

1 Answers  


is it there an easy way to determine if an html section is available to issue a wrtsection upon?

0 Answers   IBM,


what is rpg fixed logic cycle?

0 Answers   IBM,


Can we add or remove the module object from service Program..and how...?

4 Answers  


Categories