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 retrieve a physical file after deleting that?
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 can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger?
1. How can I create a LF using crtlf command based on a particular member in a multimember PF? Where I have to specify the member name? 2. How to differentiate between the types of join from a Join logical file DDS. Is it possible to have different types of Join Logical files? 3.Any performance difference between Opnqrf and Embedded SQL? When I should prefer Opnqryf and when SQL? 4. I know access path is the path chosen by the program to retrieve data. It can be of keyed access path or arrival sequence. *IMMED- *IMMED description says access path is updated each time record is added or deleted from a member. - What is updating here? *REBLD - The access path is completely rebuilt each time a file member is opened. The access path is maintained until the member is closed, then the access path is deleted. - I am not able to understand this completely. Could anyone explain these more clearly? 5.What is the purpose of using activation group. I know it is a resource allocator, but other than this any other benefits of using an activation group?
how to update physical files using normal logical file
How many maximum record format a logical file have?
What is the interactive job?
How to know the particular record in pf with out reading?
wirte a simple program for read file in cl
Can anybody tell why Journalling is compulsary before Commitment Control?
how can i know logical file belongs to which physical file without source?
Which keyword is used both in subfile and subfile control record format of a DSPF?