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

Answers were Sorted based on User's Feedback



Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to us..

Answer / ganesh kandaswamy

Chain is nothing but the combination of setll and reade. After reaching 4th record if we chain it will again reading the 1st record.

Is This Answer Correct ?    7 Yes 0 No

Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to us..

Answer / ravi kumar

Once check the question again...

Is This Answer Correct ?    0 Yes 0 No

Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to us..

Answer / aanchal

After reading 4 records if we chain the file. It will read the 4th record. That is the 4th record will be read twice.

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More RPG400 Interview Questions

How to index LF by relative record no (RRN)

1 Answers  


Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.

1 Answers   Voltech,


How can you determine the number of characters in a variable?

3 Answers  


we are sending data of physical file to screen design and it is showing no record why?

1 Answers   NTT Data,


Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?

2 Answers   Cap Gemini,


steps involved in debugging and types of debugging modes?

1 Answers  


In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening

2 Answers  


Can you copy the records created by the OPNQRYF to other files and how?

2 Answers  


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

0 Answers  


What is the difference Return and InLr?

3 Answers  


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

0 Answers  


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


Categories