New SYSTEM statement parameters permit enhanced control over how dates are processed in a DC/UCF system.
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 ─┘
This section describes the parameters for the century validation enhancement to the SYSTEM statement:
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)
Specifies whether century values are validated by built-in functions that accept four-digit years such as GOODDATEX.
Validates century values.
Does not to validate century values.
Default: OFF
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
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
|
Copyright © 2010 CA.
All rights reserved.
|
|