how to display all the members records in a physical file
without using ovrdbf?
Answers were Sorted based on User's Feedback
Answer / reecha
The question mean to display the records in particular
members of Physical file ...this can be achieved by
EXTMBR(member name) along with the file in f specs
as it is clearly mentioned that OVrdbf is not allowed ...
....Reecha
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / rajesh
using non-join logical file(single format)file we can
display all members records.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / guru
use EXTMBR('*ALL') in file specification.
Regards,
Guru
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / surya siram
By using EXTMBR(*ALL) keyword we can able to read the data in physical file for each member sequentially. By using file information data structure, we can able to know which member is reading currently.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amol
If we want to see all records of memebers without using a
OVRDBF ,we use DSPFD command or creating a non join logical
file based on that particular p.f.
| Is This Answer Correct ? | 0 Yes | 12 No |
How to handle duplicate error handling in RPG?
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.
which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
How can we receive values from a called procedure in CL?
Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.
How to add 2 new fields in a file? How many ways are there in as400?