Example 2:

Set the size of the expanded storage to 2 GB. Lock the memory into the storage.

XPNDSIZE 2048 LOCK

or

XPNDSIZE 2G LOCK

5.81 YROFFSET (TOD clock offset from actual date)

5.81.1 Function

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.

5.81.2 Syntax

Descriptive

+years -years

Diagram

+ years ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




-years

5.81.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.

5.81.4 Examples

Example 1:

Specify 28 years to offset the TOD clock from the actual date.

YROFFSET -28

Previous Page Next Page