8.188 TZOFFSET (Set TOD c
lock offset from GMT)
8.188.1 Function
The TZOFFSET command is used to define the offset of the TOD clock from the current system time. For
GMT use the default value (0000). This is also the correct setting if your system time (the time of the ope-
rating system on which Hercules is running) is set to local time rather than GMT. For time zones west of
Greenwich specify a negative value (example: -0500 for US Eastern Standard Time, -0800 for US Pacific
Standard Time). For time zones east of Greenwich, specify a positive value (example: +0100 for Central
European Time, +0930 for South Australian Time).
8.188.2 Syntax
Descriptive
+ hhmm -hhmm
Diagram
+hhmm ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
-hhmm
8.188.3 Parameter
+hhmm
Use a positive time in hours and minutes for time zones east of Greenwich.
-hhmm
Use a negative time in hours and minutes for time zones west of Greenwich.
8.188.4 Examples
Example 1:
Set the offset of the TOD clock from the current system time to Central European Time.
HHC00013I Herc command: 'tzoffset +0100'
HHC02204I tzoffset set to +0100
Figure 335: TZOFFSET command