Century window
A century window is a 100-year interval within which any two-digit year is unique.
There are several ways to specify a century window in a COBOL program:
- For windowed date fields, a century window is specified by the YEARWINDOW compiler option.
- For windowing intrinsic functions DATE-TO-YYYYMMDD, DAY-TO-YYYYDDD, and YEAR-TO-YYYY, a century window is specified by argument-2.