The Change Logical File (CHGLF) command can
be used to change files on the source and target servers through the SYSTEM
parameter.
Consider the following items when using the SYSTEM parameter
values:
- When you specify *LCL, the logical file is changed on the local server.
- When you specify *RMT, the logical file is changed on the remote server.
You must specify a DDM file on the FILE parameter.
- When you specify *FILETYPE, a remote file is changed if a DDM file has
been specified on the FILE parameter. If a DDM file has not been specified,
a local logical 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
logical file being changed. The remote file specified on the DDM file is the
logical file that is changed on the remote server (which is also specified
in the DDM file).
- For a target server other than an iSeries™ server:
- All parameters except TEXT are ignored.
- It is not verified that the remote file is a logical file.