3 members in databasefile .how to read records from all the
members??
Answers were Sorted based on User's Feedback
Answer / guru
Reading all the members in a pf cannot be achieved in a
single override command and which is cumbersome too. So
rather using override, you can use EXTMBR('*ALL') in the
file specification in your rpgle program. So when you read a
file, it will automatically read all the members records
from your data base file. This is FYI
Regards
Guru
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / swadesh
With the OVRDBF command give the member name as *all.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ravi shankar porwal
U can also read the records of all members using logical
file.create logical file based on given PF(have more than
one member) and read it using rpgle program.
| Is This Answer Correct ? | 2 Yes | 2 No |
What are different ways to pass data between programs and which one is the efficient way?
In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?
am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me
How can you delete records form a file in rpg without using "Delete" OPCODE?
How to find d key field of a pf that doesn’t have source physical file?
in rpg could u please tell me errors types and meanings like 3030 that ....
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
can anybody explain significance of *loval setll with example code????
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?
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?