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 |
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
How would display prime numbers using CL program?
what is the difference between the cpyf command crtdupobj command?
To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...
3 members in databasefile .how to read records from all the members??
how do you use commitment control in rpg?
where we give the MSGSFL in rpg400?
How can you determine the number of characters in a variable?
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?
difference betwen keywords and opcodes