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 add a new field to a file without compiling it?
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
In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.
How to retrieve a physical file after deleting that?
what is use of self join and which cases you will use this join
Define interactive jobs and batch jobs
Hi, Please give the answer to this question? I have Phisical 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?Please give me answer?
Maximum how many fields we can create under a record format of PF?
Q.1 how to implement the commitment control. 2.how to control commitment control from external program.
how to update physical file using logucal file with example
What is FORMAT keyword and its use?
what is exception and how many types of exception