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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
ESCAPE message sent by child program can be handled by parent program using which keyword?
how do I declare a minor?
1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. 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?
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
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.
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
How to find d key field of a pf that doesn’t have source physical file?
how can we can we the data decimal error?how can we open such file in support
which program rpg or cl is efficent to update a transaction onto a database file and why ?