Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

list down and describe the sub systems vailable

5 Answers   IBM,


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  


difference between CHAIN and READE?

8 Answers   HCL,


How to sort an array in descending in RPG

3 Answers   Google, TCS,


i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program

6 Answers  


I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.

3 Answers  


Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20

5 Answers  


When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?

5 Answers   Mphasis,


what is the difference between SETON RT & RETURN?

5 Answers  


Suppose in CL we reach at end of file and again we have to reach from 1 record

3 Answers   TCS,


what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????

1 Answers   CTS,


HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....

1 Answers   HCL, Mind Tree,


Categories