HCL Workload Automation, Version 9.4

Defining variables in dynamic workload broker jobs

This section explains how to add variables to jobs you plan to run with dynamic workload broker.

You can include variables in your job definition. The variables are resolved at submission time.

The supported variables are as follows:
Table 1. Supported HCL Workload Automation variables in JSDL definitions.
Variables that can be inserted in the dynamic workload broker job definition 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 jobs compatible with earlier versions.
tws.job.logon Credentials of the user who runs the job (LOGIN). Applies only to jobs compatible with earlier versions.
tws.job.name Name of the submitted job.
tws.job.num UNISON_JOBNUM.
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 Promoting jobs scheduled on dynamic pools .
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 Promoting jobs scheduled on dynamic pools.
tws.job.taskstring Task string of the submitted job. Applies only to jobs compatible with earlier versions.
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_ID).
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).