Global date

The Y2PAST process statement specifies a 100-year period (used for determining the century-part of a date when only a 2-digit year has been specified). The Y2PAST process statement uses either a fixed or sliding window.

Note: Always use the Y2PAST process statement if one of the Date Definition process statements (NY2C, NY2Z, NY2D, NY2P, OY2C, OY2Z, OY2D, OY2P) has also been used.
Compare Type: LINE
Read syntax diagramSkip visual syntax diagramY2PASTfixedsliding
fixed
A 4-digit number indicating a fixed window.
sliding
A 1-digit or 2-digit number indicating a sliding window.
Example
Description
Y2PAST 1986
A fixed window specifying a 100-year period from 1986 to 2085.
Y2PAST 70
A sliding window specifying (based on the current year being 2001) a 100-year period from 1931 (70 years in the past) to 2030.
Y2PAST 5
A sliding window specifying (based on the current year being 2001) a 100-year period from 1996 (5 years in the past) to 2095.