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
how do you use commitment control in rpg?
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.
which program rpg or cl is efficent to update a transaction onto a database file and why ?
is this a rpg channel?
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.
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is the procedure and explain about real time scenario.
what is the use of sflnxtchg?
what do you mean by an input subfile, what are the keywords required?
What is file identifier where we can use?
can you debug ile rpg program using isdb?
are there any useful c runtime apis that I can call from rpg iv?
How to select highest score of each subject or how to select highest income of every month?
what is file information data structure?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?