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 |
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
how to retrieve RRN value in RPGLE program
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
How Commitment and Roll back control is used in as400, explain with real time senario ???
What is the RPG cycle?
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
What is the difference between copybooks and subprocedures in as400?
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?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
can i use UPDDTA command in rpg program in which contains a file