HCL Workload Automation, Version 9.4

Variables resolved by HCL Workload Automation

The variables are assigned their values by means of dynamic workload broker at job submission time before the job is passed to the agent for z/OS.

The following variables are supported:
Table 1. Supported variables in JSDL definitions
Variable name Description
tws.host.workstation Name of the host workstation
tws.job.date Date of the submitted job.
tws.job.fqname Fully qualified name of the job (UNISON_JOB)
tws.job.ia Input arrival time of the job
tws.job.interactive Job is interactive. Values can be true or false. Applies only to backward-compatible jobs.
tws.job.logon Credentials of the user who runs the job (LOGIN). Applies only to backward-compatible jobs.
tws.job.name Name of the submitted job
tws.job.num Number of the submitted job.
tws.job.priority Priority of the submitted job
tws.job.promoted Job is promoted. Values can be YES or No. For more information about promotion for dynamic jobs, see the section about promoting jobs scheduled on dynamic pools in Scheduling Workload Dynamically.
tws.job.recnum Record number of the job.
tws.job.resourcesForPromoted Quantity of the required logical resources assigned on a dynamic pool to a promoted job. Values can be 1 if the job is promoted or 10 if the job is not promoted. For more information about promotion for dynamic jobs, see the section about promoting jobs scheduled on dynamic pools in Scheduling Workload Dynamically.
tws.job.workstation Name of the workstation on which the job is defined
tws.jobstream.id ID of the job stream that includes the job (UNISON_SCHED)
tws.jobstream.name Name of the job stream that includes the job (UNISON_SCHED)
tws.jobstream.workstation Name of the workstation on which the job stream that includes the job is defined
tws.master.workstation Name of the master domain manager (UNISON_MASTER)
tws.plan.date Start date of the production plan (UNISON_SCHED_DATE)
tws.plan.date.epoch Start date of the production plan, in epoch format (UNISON_SCHED_EPOCH)
tws.plan.runnumber Run number of the production plan (UNISON_RUN)

When you include any of these variables in the job definition in composer, put the $ (dollar) sign before the variable and write the variable within braces; for example, ${tws.master.workstation}.