Job-submit exit

The job-submit exit is called when HCL Workload Automation for Z is about to submit a batch job or start a started-task. A common use for this exit is to assign a submitting user ID. If you do not alter the submitting user ID, all jobs submitted by HCL Workload Automation for Z are, by default, performed under the user ID of the HCL Workload Automation for Z address space that performs the submission.

Security is often performed through the RUSER field, but you can also use the exit to build a LOGONID card if your installation standards require this. You can determine the submitting user from a variety of sources. These include:
  • Job name specified in the JCL
  • Job accounting information
  • Programmer name field
  • Occurrence owner ID
  • Occurrence authority group ID.

The SEQQSAMP member EQQUX001 contains a sample job-submit exit. This sample assigns a specific user ID based on the job name defined in the operation.