IBM z/OS Definition Types
There is currently one definition type for the mainframe, JCL_FTP. JCL_FTP uses the FTP interface on the mainframe to start processes, this has the advantage of not requiring additional software on the mainframe.
Users
RunAsUser
is generally used to control the user account under which the job runs on the host where the platform agent runs. RemoteRunAsUser
is used to control an extra user account that is used in particular definition types only.
There are two historic exceptions: SQLPLUS
and JCL_FTP
, where the RunAsUser
is used to control the account that is used for the remote account, as there is no use for the local RunAsUser
and these predate the RemoteRunAsUser
.
The RemoteRunAsUser
attribute is used in FTP jobs, for example, where it is used to control the initial account that the FTP program connects to.
Controlling the RunAsUser
When there is a need to control the user account at submit time you can override the user, password (and endpoint) parts of a credential set by using the following parameters:
JCS_USER
- The user on the z/OS systemJCS_ENDPOINT
- The hostname of the z/OS system, it must match the value of RemoteHostName process server parameter of the server where you want to run the job.
note
The endpoint for definition types other than SQLPLUS
and JCL_FTP
is fixed to the EndPoint process server parameter, or if that is not set the RemoteHostName process server parameter.