Previous Topic: Century ValidationNext Topic: SYSIDMS Parameters


SYSGEN SYSTEM Statement for Century Validation

New SYSTEM statement parameters permit enhanced control over how dates are processed in a DC/UCF system.

SYSTEM Syntax for Century Validation

The following diagram shows the syntax enhancements to the SYSTEM statement:

►►─┬───────────┬─── SYStem dc/ucf-version-number ─────── … ──────────►
   ├─ ADD ─────┤  
   ├─ MODify ──┤  
   └─ DELete ──┘  
►──┬───────────────────────────────┬─────────────────────────────────►
   └─ EVAl BASe YEAr is base-year ─┘
►──┬─────────────────────────────────────────┬───────────────────────►
   └─ EVAl CENtury VALidation is ─┬─ ON ───┬─┘
                                  └─ OFF ◄─┘
►──┬───────────────────────────────────┬─────────────────────────────►
   └─ EVAl LOW CENtury is low-century ─┘
►──┬─────────────────────────────────────┬───────────────────────────►◄
   └─ EVAl HIGh CENtury is high-century ─┘

SYSTEM Parameters for Century Validation

This section describes the parameters for the century validation enhancement to the SYSTEM statement:

EVAl BASe YEAr is base-year

Specifies the base year assumed by the DATEDIFF and DATEOFF built-in functions. The base year is used to determine whether a two-digit year is considered to be in the twentieth or twenty-first centuries. A year whose value is greater than the base year is considered to be in the twentieth century; values less than or equal to the base year are considered to be in the twenty-first century.

Limits: 1- 99

Default: 68 (so that years 00-68 are considered to be in the twenty-first century)

EVAl CENtury VALidation is

Specifies whether century values are validated by built-in functions that accept four-digit years such as GOODDATEX.

ON

Validates century values.

OFF

Does not to validate century values.

Default: OFF

EVAl LOW CENtury is low-century

Specifies the lowest century value to be considered valid. This value is used during century validation in built-in functions that accept four-digit years, such as GOODDATEX. Centuries are validated only if the EVAL CENTURY VALIDATION is ON.

Limits: 1 - 99

Default: 19

EVAl HIGh CENtury is high-century

Specifies the highest century value to be considered valid. The value specified is used during century validation in built-in functions that accept four-digit years such as GOODDATEX. Centuries are validated only if EVAL CENTURY VALIDATION is ON.

Limits: 1 - 99

Default: 20