Suppose you have 3 members in a database file. How to read
records from all the members without using CL (OVRDBF) i.e.
Entire process should be handled exclusively in a RPG program?
Answers were Sorted based on User's Feedback
Answer / milan kumar banerjee
One way could be using CPYF copy all the members into a
single member of a file and then process the new file in
the RPG.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / murali
It is not possible to read all the members through OVRDBF, you need to override the file in the CL and use use EXTMBR('*ALL') keyword on F specification in RPGLE
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / prasanh
Hello, EXTMBR key word can be used in RPGLE program, but the
question is how to use it in RPG?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikumar
2nd and 3rd answers are correct...
Yes, EXTMBR(*ALL) is used in RPGLE program...
| Is This Answer Correct ? | 0 Yes | 0 No |
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
WHAT IS MEANT BY SIGNATURE VAILOTION ERROR
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?
What are the types of identifiers?
What are different ways to pass data between programs and which one is the efficient way?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
how to display all the members records in a physical file without using ovrdbf?
Can we have a Physical file without any member ? Please let me know
How can a screen field that has changed since the last output operation be detected?
1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400
10 Answers IBM, Tech Mahindra,