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...


how can we find setll setgt chain read reade readp
operations are successfull or not,give example.explain in
detail.

Answers were Sorted based on User's Feedback



how can we find setll setgt chain read reade readp operations are successfull or not,give example...

Answer / adhar246

%FOUND will give the record is found or not. Not the operation was successful. To check an opcode is successful you have to use opcode extender (E) with opcode. and use %error BIF to check the opcode was successful.

Is This Answer Correct ?    5 Yes 0 No

how can we find setll setgt chain read reade readp operations are successfull or not,give example...

Answer / rajkalyanam

If SETLL and SETGT are successful,that is if record is
found Equal Indicator gets ON.
If READ,READE and READP are not Successfull that is if
record is not found or retrieved Equal Indicator gets ON,
For CHAIN High indicator gets on when CHAIN operation is not
not successfull.

Is This Answer Correct ?    2 Yes 1 No

how can we find setll setgt chain read reade readp operations are successfull or not,give example...

Answer / harshad r suryawaunshi

Use If %found with Chain and with inedicator with and all
READ operations. if chain is unsuccessful execution of
lines in %found loop will not executed. if Read is success
full the mentioned indicator will be off.

Is This Answer Correct ?    1 Yes 2 No

how can we find setll setgt chain read reade readp operations are successfull or not,give example...

Answer / dkumar3

%Found is not used with Chain. %equal is used with Chain. %Found is used only with SETLL and SETGT

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


How do you find whether a record is locked or not?

2 Answers  


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


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

0 Answers  


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. 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?

6 Answers   Virtusa,


how does the rpg element work?

0 Answers   IBM,


Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?

3 Answers  


i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

1 Answers   IBM,


i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.

11 Answers   IBM,


Categories