The Change Physical File (CHGPF) command can
be used to change files on the source and target systems through the SYSTEM
parameter.
Consider the following items when using the SYSTEM parameter values:
- When you specify *LCL, the physical file is changed on the local system.
- When you specify *RMT, the physical file is changed on the remote system.
You must specify a DDM file on the FILE parameter.
- When you specify *FILETYPE, if a DDM file has been specified on the FILE
parameter, a remote file is changed. If a DDM file has not been specified,
a local physical file is changed.
Consider the following items when using this command with DDM:
- The FILE parameter is the name of the DDM file that represents the remote
physical file being changed. The remote file specified in the DDM file is
the physical file that is changed on the remote system (which is also specified
in the DDM file).
- For a target server other than an iSeries™ server:
- All parameters except EXPDATE, SIZE, and TEXT are ignored.
- It is not verified that the remote file is a physical file.