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 you display specific subfile page on the screen in unequal subfile?
where we give the MSGSFL in rpg400?
3 members in databasefile .how to read records from all the members??
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.
How can we receive values from a called procedure in CL?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
how do you use commitment control in rpg?
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?