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

How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’

4 Answers   IBM,


Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

2 Answers   iGate,


are there any useful c runtime apis that I can call from rpg iv?

0 Answers   IBM,


1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD

4 Answers   Manhattan,


What is I90(Insure 90)?

1 Answers  


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 Answers  


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

0 Answers   CTS,


3 members in a databasefile .how to read records from all the members?????????

4 Answers   CTS,


You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


what is plat file?

6 Answers   Indian Infotech,


Categories