HCL Workload Automation, Version 9.4

Customizing date formatting in the stdlist

About this task

You can use an environment variable named UNISON_DATE_FORMAT to specify the date format that is used for the date in the header and in the footer of the stdlist file. This variable can be set on both UNIX and Windows workstations and must be set before starting HCL Workload Automation processes on that workstation to become effective. To set this variable, follow these steps:
On UNIX workstations
  1. Add the statement to export the UNISON_DATE_FORMAT variable in the root .profile file.
  2. Run the .profile file.
  3. Run conman shutdown and then ./StartUp.sh.
On Windows workstations
  1. From the System Properties set the UNISON_DATE_FORMAT in the System Variable.
  2. Run conman shutdown and then StartUp.
These are some examples of the settings used to display the year format in the date field in the header and footer of the stdlist file. The setting:
UNISON_DATE_FORMAT = "%a %x %X %Z %Y"
produces an output with the following format:
Fri 15/10/04 11:05:24 AM GMT 2004 
The setting:
UNISON_DATE_FORMAT = "%a %x %X %Z"
produces an output with the following format:
Fri 15/10/04 11:05:24 AM GMT
Set this variable locally on every workstation for which you want to display the 4-digit year format. If omitted, the standard 2-digit format is used.