Why we create the Physical File Member?

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


Please Help Members By Posting Answers For Below Questions

How many maximum record format a logical file have?

581


I have physical 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?

640


What is the difference between access path and open data path?

592


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

724


What is the batch job?

569






Suppose 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?

630


What is open data path?

571


What is FORMAT keyword and its use?

203


What is the use of member in pf?

535


Last statement of any rpg program is lr?

611


When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

564


What is the interactive job?

574


How to find the list of source physical files in a library?

616


Can we concatenate fields in physical file? If yes how can we do?

587


How to retrieve a physical file after deleting that?

580