i have a PF,it contains 5 members,how to access particular
member data from logical file ?and what is the use of member
in PF
Answers were Sorted based on User's Feedback
Answer / syam
A1. Reading member 5 of myfilepf
CRTLF FILE(KCS/MYFILELF) SRCFILE(KCS/KC1) DTAMBRS
((KCS/MYFILEPF (MBR5)))
Or
ADDLFM FILE(KCS/MYFILELF) MBR(MYFILEBR) DTAMBRS
((KCS/MYFILEPF (MBR5)))
A2.For accounting purpose each month data can be stored as
12 different members.
So that we can easily access one month data or 12 months
together.
Easy to maintain 12 members in one PF file instead of 12 PF
Files.
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / pravin
By using OVRDBF (Override with Data Base File).We can
access particular member of file.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / malli
(Q)u have a pf & it contain 5 members
(A) u can enter wrkmbrpdm --file name then
dspf--filename
| Is This Answer Correct ? | 2 Yes | 10 No |
Suppose I have a pf,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in pf?
I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?
I want to change the attribute of field or want to add new field in existing PF but condition is format level identifier should not change, is it possible?
How can we handle errors in RPG?
Is it possible to create a logical file whose Physical file is not in same library?
what is general and type of general
Maximum how many fields we can create under a record format of PF?
what is open data path? and what is the diff b/w access path and open data path?
pls anyone explain about compile time array,pre run time array run time array
can any one tell me what is meant by PSSR? Kindly elaborate it...
how to add a new field to a file without compiling it?
Q.1 how to implement the commitment control. 2.how to control commitment control from external program.