What is the CHGPF (Change Physical file) command and Why do we use this command in the AS400 system?
What changes we can make to the physical file using this command? Please provide some examples to explain it and the command’s important parameters.
CHGPF
is changing the physical file command in AS400, i.e., CHGPF. This command changes the PF attributes and structure without losing the actual data stored in PF.CHGPF FILE(TESTLIB/PF1) SRCFILE(PF1/QDDSSRC) SRCMBR(PF1)
We can change the following attributes of a PF using the
CHGPF
command: