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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is kids-rpg?

667


what is the necessary keyword needed to scroll subfile records?

702


what is the difference between do while and do until?

703


What is the difference between iter and do?

674


how can I tell when to replace the array?

702






What is the purpose of record level identifier?

728


How to call one program from another program in RPG? please help me with the code

1260


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

548


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

768


Explain mdt?

665


How can we know running job is batch or interactive?

654


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2519


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

515


what is data area and how it is used in rpg program ?

756


When it is desirable to describe files Internally?

1186