Defining a job in the JOBLIB data set

You define the jobs to be run on HCL Workload Automation Agent workstations in a job definition member of the JOBLIB data set. In the JOBLIB member, you can either define the job contents or invoke a script or an executable that is stored locally on the HCL Workload Automation Agent workstation.

If you do not specify any content in the job definition member, the error code JCLI is issued.

To define the job contents, the following syntax rules apply:
  • The lines that start with //* OPC, //*%OPC, or //*>OPC are used for variable substitution and automatic recovery. They are removed before the script is downloaded onto the HCL Workload Automation Agent.
  • Each line starts between column 1 and column 80.
  • The last backslash (\) in a line is considered the character of continuation.
  • Blanks at the end of the line are automatically removed.

To define the job properties, use the JOBREC statement. In the JOBREC statement, you can define different job types.