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.
Answers were Sorted based on User's Feedback
Answer / manikandan
ans:
d.They will equal the values of the last record read.
let me know other answer thank u
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / rahul
iT may depend on situation......on loop.....do while...or
not...thats all
Is This Answer Correct ? | 0 Yes | 5 No |
How to index LF by relative record no (RRN)
can I touch the array during treatments?
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
What are the necessary keywords required to code a message subfile?
how do I declare a table or array in rpg iv?
How to write record if no field or the field are different in physical file in rpgle ?
wat is curser?? and its types???
1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52
How to declare the more than one file in cl/400.
How to add 2 new fields in a file? How many ways are there in as400?
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.