8.193.5 Examples

Example 1:

Display the current size of the expanded storage.

HHC00013I Herc command: 'xpndsize'

HHC17003I EXPANDED storage is 256 MBytes 'xpndsize'; storage is not locked

Figure 344: XPNDSIZE command (display size of expanded storage)

Example 2:

Set the size of the expanded storage to 128 MB. Do not lock the memory into the storage.

HHC00013I Herc command: 'xpndsize 128'

HHC17003I EXPANDED storage is 128 MBytes 'xpndsize'; storage is not locked

Figure 345: XPNDSIZE command (set size of unlocked expanded storage)

Example 3:

Set the size of the expanded storage to 512 MB. Lock the memory into the storage.

HHC00013I Herc command: 'xpndsize 512 lock'

HHC01428I Locking expanded storage

HHC17003I EXPANDED storage is 512 MBytes 'xpndsize'; storage is locked

Figure 346: XPNDSIZE command (set size of locked expanded storage)

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

Previous Page Next Page