Monday, July 7, 2008

Members in As 400

Members:
Different sets of data’s in the same format of Records are called Members.

Saved Keyed PF allows creating Maximum of 3,999 members.
Saved Non-Keyed PF allows creating Maximum of 7,999 members.

Operations with Members are as follows.

CRTPF
CRTLF
ADDPFM
ADDLFM
CHGPF
CHGLF
CHGPFM
CHGLFM


PF- Members Operation:-

*INZPFM -> Initialize Physical Members

When you create the PF we can give DFT(value), for default values in function keywords. So when you initialize the physical file then fields, will get default value we have already declared. It can restrict others from writing the new records. So we can update the values of those already created by fetching the RRN value of them.

*CLRPFM ->Clear Physical Members
It can clear the values of the members such that it would empty the PF. And it also can re-organize the sequence number created by file operation (WRITING AND DELETING).

*DSPPFM -> Display Physical Members

*CHGPFM ->Change Physical Members

*RNMM ->Rename Physical Members

*RMVM ->Remove Members

*RGZPFM ->Re-Organize Physical Members
RGZPFM is used to organize the PF such that its sequence number will continue properly even though records have been deleted through program. After doing RGZPFM then Sequence would continue normally.