HCL Workload Automation, Version 9.4

Dynamic-format variables

Predefined dynamic-format variables are time-and-date-related.

You define the format you require for these variables using the SETFORM directive. For example, if you want to substitute the occurrence input arrival date with the format MM:DD:YY, you define the dynamic variable OCDATE as follows:
//*%OPC SETFORM OCDATE=(MM:DD:YY)

When you have defined the format of a dynamic-format variable by using the SETFORM directive, you can use a different format later in the job by redefining the same variable with another SETFORM directive.

The following table lists these variables.
Table 1. Predefined dynamic-format variables
Variable name Description
CDATE Current date.
CTIME Current time.
OCDATE Job stream instance input arrival date.
OCTIME Job stream instance input arrival time (hours and minutes).
OPIADATE Job instance input arrival date (if blank, this takes the value of the job stream instance input arrival date).
OPIATIME Job instance input arrival time (if blank, this takes the value of the job stream instance input arrival time).