1.I Have a physical file , i want to read the data from the
each and every member of the File in the CL Program.How do
you achieve this.
2.How do you do the same in RPG?. do think is it possible to
read data from all the members in the RPG?
Answer Posted / sivaprasad
in CL
by OVRDBF we can load the data from all members in file.
OVRDBF FILE(INPUT) TOFILE(PAYROLL) MBR(*all)
in RPG
by EXTMBR(*all) can load the data from all members in file
Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
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?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
what is a rpg?
How many program bind in one module....
how do you use commitment control in rpg?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
How would display prime numbers using CL program?
How to call one program from another program in RPG? please help me with the code
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
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?
what is kids-rpg?
How to handle duplicate error handling in RPG?
which program rpg or cl is efficent to update a transaction onto a database file and why ?