I know chain keyword retreive records randomly but how chain
keyword exactly works internally????
Answer Posted / nkumar
With chain High indicator is defined which will be set on if record is not found. Chain works exactly like SETLL and then READ record. If the record is found it will be read and indicator will be OFF and if record is not found then indicator will be ON.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How to call one program from another program in RPG? please help me with the code
How to handle duplicate error handling in RPG?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is *place and *auto keyword in prtf ?plz explain
can I touch the array during treatments?
How can we override a file during runtime in rpg?
How to select highest score of each subject or how to select highest income of every month?
what is file information data structure?
what is data area and how it is used in rpg program ?
How can we know running job is batch or interactive?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
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
how does the rpg element work?
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