If the last record of a file has been read, and the next
operation on that file is a READ operation, what will be
the values of the input fields for that file?

A. They will be blank and/or zero.
B. They will be null.
C. They will equal the values of the first record in the
file.
D. They will equal the values of the last record read.

Answer Posted / rahul

iT may depend on situation......on loop.....do while...or
not...thats all

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we know running job is batch or interactive?

647


Explain mdt?

663


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

489


what are the key words you must use when using a subfile?

686


What is the difference between iter and do?

668






What is difference between bind by copy and bind by reference?

1724


What are the types of identifiers?

566


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

766


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

496


How to call one program from another program in RPG? please help me with the code

1256


what is an online rpg?

723


how do you use commitment control in rpg?

755


how can I tell when to replace the array?

698


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5392


what was the robotech rpg?

680