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
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?
how can you display specific subfile page on the screen in unequal subfile?
what is *place and *auto keyword in prtf ?plz explain
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
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?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what was the robotech rpg?
what do you mean by an input subfile, what are the keywords required?
What is the difference between copybooks and subprocedures in as400?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
How to select highest score of each subject or how to select highest income of every month?
are there any useful c runtime apis that I can call from rpg iv?
What is the difference between iter and do?
how do I declare a table or array in rpg iv?
How Chain operation copies the record's data to the input buffer for the program?