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 ? | 10 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 |
Can a indexed file be accessed in arrival sequence in RPG?
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
two attributes which govern the excecution of a job>>>>??
How to set on/off a group of indicators in a single statement?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this
1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.
What you have to do in the display file when you are using message subfile?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How Commitment and Roll back control is used in as400, explain with real time senario ???
difference between CHAIN and READE?
Need a sql query: retrieve all duplicate records in table?