Previous Topic: CA MSM Common Services Configuration

Next Topic: Unicenter Service Desk Installation Configuration

SRAM Usermod

SRAM uses four-character years in dates. If the data to be sorted includes two-character years, dates after the year 2000 may be sorted before some dates in the 1900's. You can use CCCSJCL member ASRIOPTN to solve this problem.

USERMOD(ASR0001) is available to customize SRAM to handle 2-digit year sort key types. The following lists the key types:

Key

Type

Size

Y2C

Character Year

2 Bytes

Y2Z

Zoned Year

2 Bytes

Y2P

Packed Year

2 Bytes

Y2S

Character Year

2 Bytes

Y2D

Decimal Year

1 Byte

Y2B

Binary Year

1 Byte

The usermod defines the century value attached to the 2-digit year based on the generated Y2K windowing rules.

Either a fixed or a sliding Y2K window may be defined. In the SRAMCNFG member of the CCCSOPTN data set, the CAISRAM macro is invoked with the keyword parameter Y2PAST=. A fixed window is defined by specifying a 4-digit year. A sliding window is defined by specifying a 2-digit year.

CAISRAM Y2PAST=1967 fixed
CAISRAM Y2PAST=88 sliding

In the fixed window mode, dates greater than or equal to the 2-digit year are converted to the specified century and dates less than the 2-digit year are converted to the following century.

In the sliding window mode the dates are converted relative to the current date returned from the system by the TIME macro.

An assembled SRAMCNFG is distributed with a default fixed format value of Y2PAST=1967. This means a 2-digit date, xx < 67 is converted to 20xx and xx >= 67 is converted to 19xx.

If the provided default does not fit your installation’s needs modify the Y2PAST value and submit this job to receive, apply and accept this usermod.