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



If the last record of a file has been read, and the next operation on that file is a READ operatio..

Answer / zahid

Option D is your answer.

Is This Answer Correct ?    15 Yes 2 No

If the last record of a file has been read, and the next operation on that file is a READ operatio..

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

If the last record of a file has been read, and the next operation on that file is a READ operatio..

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

More RPG400 Interview Questions

RPG/400 faqs?

1 Answers   HSBC,


What are the types of identifiers?

0 Answers  


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?

7 Answers  


Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 Answers  






If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?

1 Answers  


How can we receive values from a called procedure in CL?

1 Answers   IBM, NTT Data,


How would display prime numbers using CL program?

0 Answers   Hexaware,


1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?

2 Answers   TCS,


What is the difference between RPG/400 and RPG4

1 Answers   HCL,


CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?

6 Answers   Satyam,


can you debug ile rpg program using isdb?

0 Answers   IBM,


Categories