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
-
- Add the statement to export the UNISON_DATE_FORMAT variable in the root .profile file.
- Run the .profile file.
- Run conman shutdown and then ./StartUp.sh.
- On Windows workstations
-
- From the System Properties set the UNISON_DATE_FORMAT in the System Variable.
- Run conman shutdown and then StartUp.
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.