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 |
How to index LF by relative record no (RRN)
How we can't update join logical files?
Last statement of any RPG pgm is LR?
Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?
How to know the perticular record in pf with out reading?
I have a PF with out any data but the dependent LF is having data?
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?
Why journalling is compulsory before commitment control?
What is the difference between access path and open data path?
Suppose if a physical file is having 1000 records, but i deleted 500 records from it. Here the concern is can the size of the file changes or it remains the same... kindly help me out with thorough xplanation.... Thanks in-advance...
hi iam very new to as400. i had created one physical file can any one tell command to enter data in to that
What is the interactive job? What is the batch job? How to change the batch job to interactive job?