8.194 YROFFSET (Set TOD clock offset from actual date)
8.194.1 Function
The YROFFSET command specifies the number of years the TOD clock is offset from the actual date.
Positive numbers will move the clock forward in time while negative numbers will move it backward. A
common value for non-Y2K-compliant operating systems is YROFFSET -28 which has the advantage that
the day of the week and the presence or absence of February 29 is the same as the current year.
8.194.2 Syntax
Descriptive
+years -years
Diagram
+years ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
-years
8.194.3 Parameter
+years
Specifies the number of years the TOD clock is offset positive from the actual date.
This value may not be specified as greater than +/-142 years, the total range of the
TOD clock. Specifying a value that causes the computed TOD clock year to be
more than 142 years later than SYSEPOCH will produce unexpected results.
-years
Specifies the number of years the TOD clock is offset positive from the actual date.
This value may not be specified as greater than +/-142 years, the total range of the
TOD clock. Specifying a value that causes the computed TOD clock year to be
earlier than the value of SYSEPOCH will produce unexpected results.
8.194.4 Examples
Example 1:
Specify 28 years to offset the TOD clock from the actual date.
HHC00013I Herc command: 'yroffset -28'
HHC02204I yroffset set to -28
Figure 347: YROFFSET command