Can we found a record existance in a file w/o reading the file?

Answer Posted / ravikumar

1.With the help of CHAIN or READ opcodes we can find out record existence.


2.we can find out with the help of FILE INFORMATION DATA STRUCTURE..

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would display prime numbers using CL program?

5666


how do I preserve and clean the array?

667


what is kids-rpg?

659


How can we override a file during runtime in rpg?

677


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

503






if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2183


how do I declare a minor?

707


explain sflclr, sflend, sfldlt, and sflcsrrrn?

878


What are the types of identifiers?

564


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

748


How Chain operation copies the record's data to the input buffer for the program?

1070


Explain mdt?

657


what do you mean by an input subfile, what are the keywords required?

760


What is the purpose of record level identifier?

720


What is the difference between copybooks and subprocedures in as400?

801