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 |
When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.
How to read a PF in reverse(from last rec to first) using CL?
How we can't update join logical files?
Last statement of any rpg program is lr?
How to change the batch job to interactive job?
How to add a field to a PF and compile it without loss of data?
A pf containing 100 records... my query is how to display from 11th record in the pf?
What is FORMAT keyword and its use?
What is the difference between access path and open data path?
how to update physical files using normal logical file
one physical file can have how many max of logical files? what is the primary file?
hi iam very new to as400. i had created one physical file can any one tell command to enter data in to that