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

how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


why we do STRSRVJOB in batch debugging in as400

1 Answers  


What is the difference between copybooks and subprocedures in as400?

0 Answers  


i want to retrieve record b/w 2 dates in as400

2 Answers   L&T,


How to index LF by relative record no (RRN)

1 Answers  






Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.

2 Answers  


When will DUMP & DEBUG be ignored?

3 Answers   IBM,


what is the difference between the cpyf command crtdupobj command?

9 Answers   IBM,


1.How to load Records of a Physical file(PF) in the reverse order, in CL program?

2 Answers   Cap Gemini,


How to handle duplicate error handling in RPG?

0 Answers  


What is the length of Signature?

3 Answers   UST,


suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG

3 Answers   TCS,


Categories