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 / zahid

Option D is your answer.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we override a file during runtime in rpg?

690


how can you display specific subfile page on the screen in unequal subfile?

677


what is program status data structure?

1396


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1567


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

835






how can I tell when to replace the array?

706


explain sflclr, sflend, sfldlt, and sflcsrrrn?

891


how does the rpg element work?

722


how do I declare a table or array in rpg iv?

741


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

776


what do you mean by an input subfile, what are the keywords required?

777


is this a rpg channel?

684


How to call one program from another program in RPG? please help me with the code

1265


When it is desirable to describe files Internally?

1196


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

721