The Create Source Physical File (CRTSRCPF) command
can be used to create files on the iSeries™ source
and target servers through the SYSTEM parameter.
Consider the following items when using the SYSTEM parameter values:
- When you specify *LCL, the file is created on the local server.
- When you specify *RMT, the file is created on the remote server. 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 created. If a DDM file has not been specified,
a local file is created.
Consider the following items when using this command with DDM:
- The FILE parameter is the name of the DDM file that represents the remote
file being created. The remote file specified in the DDM file is the file
that is created on the remote server (which is also specified in the DDM file).
- The OPTION and GENLVL parameters create the same results as for local
processing. These parameters have no effect on the remote command sent.
- If *JOB is specified as the value of a parameter or is in the data description
specification (DDS) for that file, the attribute of that source job is used
for file and field attributes. The attribute of the source job is also used
when the default for a file or field attribute is the job attribute.
All parameters of the CRTSRCPF command are supported
with one restriction: authorization lists are not allowed for the AUT (public
authority) parameter. DDM cannot guarantee the existence of the authorization
list on the target server or that the same user IDs are in the list if it
does exist. The public authority is changed to *EXCLUDE when you use an authorization
list as a value for the AUT parameter of the CRTSRCPF command.