Answer Posted / kolla ravi
A member is like an Individual file.It is possible to Have
32767 such members within the same PF.Each member added to
the file will exactly get the same record format(
fields,types and KWDS) on the file.This facility is
provided to meet the requirement when many files are needed
to be created with same structure.Here just Create file
once with MAXMBRS(as many reqd) and ADDPFM will do it.Easy
to create and maintain as a single object.Each member is
identified by unique name within file.
Examples : A School has attendance register per class. Each
Class has 4 sections and in all10 classes. Instead of
Creating and maintaining 40 files and scaterred in a
library, one can create a PF and add 40 members in one
object.
Secondly All Physical files created need not necessarily
have members. Some files are created to store field
definitons only and are called field refrence files. They
need not have members.
| Is This Answer Correct ? | 23 Yes | 2 No |
Post New Answer View All Answers
What is the difference between access path and open data path?
How to change the batch job to interactive job?
What is the interactive job? What is the batch job? How to change the batch job to interactive job?
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.
What is the batch job?
What is the use of member in pf?
How to retrieve a physical file after deleting that?
What is the interactive job?
What is open data path?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
What is FORMAT keyword and its use?
Can we concatenate fields in physical file? If yes how can we do?
How to update physical file using logical file with example?
Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?
How to read a pf in reverse(from last record to first) using cl?