IBM RPG400 Question:
Download Questions PDF

Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF?

Answer:

Based on RRN number we can retrieve the first 10 records
or otherwise copy the first 10 records using CPYF command
and you can use RUNQRY for new created file

Download IBM RPG400 Interview Questions And Answers PDF

Previous QuestionNext Question
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?Suppose 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?