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



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

Answer / Deepak Kumar Gaur

Chain operation in RPG400 copies records from an external file into a program's input buffer, allowing the program to process those records one by one. The chain operation works by reading records from the external file and storing them sequentially in the program's input buffer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,


1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?

4 Answers   Virtusa,


In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?

6 Answers   Hexaware,


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?

6 Answers  


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


can anyone say,what is the use of operation extended H/N/P?

2 Answers  


1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?

3 Answers  


If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?

1 Answers  


do you use message subfiles? What are the necessary keywords required coding a message subfile?

1 Answers   IBM,


can i use unique key in LF

3 Answers   TCS,


what is the necessary keyword needed to scroll subfile records?

1 Answers   IBM,


Categories