I know chain keyword retreive records randomly but how chain
keyword exactly works internally????

Answer Posted / aditya

hello ,
see chain opcode locks the first record of pf and then
starts reading.it is useful when there are multiple
receivers present in your program and you want any specific
receiver.
it is always used with HIGH indicator.

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 a record lock error?

1251


can you debug ile rpg program using isdb?

729


which program rpg or cl is efficent to update a transaction onto a database file and why ?

730


What are the types of identifiers?

559


what is an online rpg?

710






How to write record if no field or the field are different in physical file in rpgle ?

471


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

746


what is *place and *auto keyword in prtf ?plz explain

2709


what is program status data structure?

1362


How Chain operation copies the record's data to the input buffer for the program?

1065


What is ment by record level identifier?

643


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?

474


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?

750


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

2508


What is the difference between iter and do?

660