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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1744


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

1016


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1670


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1694


what is the use of sflnxtchg?

1011


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

823


What is file identifier where we can use?

835


what is the procedure and explain about real time scenario.

1688


How to declare the pull button in AS/400..

2097


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2170


what is kids-rpg?

882


What is ment by record level identifier?

848


can you debug ile rpg program using isdb?

920


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?

700


What is the purpose of record level identifier?

891