INIT – Initialize communication with HCL Workload Automation for Z

Use the INIT request to identify the required HCL Workload Automation for Z subsystem and initialize the communication session between the subsystem and Workload Automation Programming Language.

INIT <resource> <arguments>

Through the parameter file EQQYPARM, you can override the subsystem name specified in the INIT request, and set a LU name, a TRACE level, and the DATINT flag.

The parameter file can be a sequential file, or a PDS allocated as //EQQYPARM DD DISP=SHR,DSN=OPCESA.SYS1.CNTL(YPARM)

If you do not specify any INIT request, Workload Automation Programming Language automatically executes one before any other PIF requests. It also generates a TERM request ahead of your INIT request, if you make an INIT request to a new subsystem while a session is already established.

An automatic INIT request specifies v the subsystem to which to connect, if you code an INIT request yourself you can specify additional arguments.

Return codes are:
0
The request was successful. A programming interface session is successfully started. The address of the communication block is placed in the parameter list.
8
The request was not successful. For details about the error, see the message log, SYSLOG, and EQQDUMP data sets.