5.74 SYSEPOCH (Base date for TOD clock)

5.74.1 Function

SYSEPOCH specifies the base date for the TOD clock. Use the default value (1900) for all systems
except OS/360. Use 1960 for OS/360. Values other than these were formerly used to offset the TOD
clock by a number of years to move the date before the year 2000 for non-Y2K-compliant operating
systems. This use is deprecated and support will be removed in a future Hercules release after which
only values of 1900 or 1960 will be accepted.

5.74.2 Syntax

Descriptive

year [+years -years

Diagram

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«




year ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬«





+years ¬¬¬«





-years

5.74.3 Parameter

1900

Year 1900 is one of the two valid values for SYSEPOCH. 1900 is the default.

1960

Year 1960 is the second of the two valid values for SYSEPOCH.

year

This is the base date for the TOD clock. The only supported values for SYSEPOCH
are currently 1900 and 1960. Any other value will produce a warning message
showing the equivalent values to specify in the SYSEPOCH statement. 1900 is the
default.

+ years

Specifies an optional positive year offset. It will be treated as though it had been
specified using the YROFFSET statement.

- years

Specifies an optional negative year offset. It will be treated as though it had been
specified using the YROFFSET statement.

5.74.4 Examples

Example 1:

Specify year 1900 as the base date for the TOD clock.

SYSEPOCH 1900

Example 2:

Specify a positive year offset of 20 years to the default of 1900.

SYSEPOCH +20

Previous Page Next Page