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 |
What is Multi Occurrence Data Structure(MODS)?
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?
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?
How can i check the object existance in RPG program without using QCMDEXC command.
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
can anyone say,what is the use of operation extended H/N/P?
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?
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?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
can i use unique key in LF
what is the necessary keyword needed to scroll subfile records?