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
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 |
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 |
How to index LF by relative record no (RRN)
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.
How can you determine the number of characters in a variable?
we are sending data of physical file to screen design and it is showing no record why?
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?
steps involved in debugging and types of debugging modes?
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
Can you copy the records created by the OPNQRYF to other files and how?
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.
What is the difference Return and InLr?
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?
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?