Year aging

There are two process statements for year aging:
NY2AGE
Aging applies to the new file
OY2AGE
Aging applies to the old file
These statements age all the defined dates in either the new or old file. That is, the number of years specified is added to the year portion of each defined date in the file concerned.
Note: Dates are defined by the Date Definition process statements NY2C, NY2Z, NY2D, NY2P, OY2C, OY2Z, OY2D, and OY2P; see Date definitions.
Compare Type: LINE

Read syntax diagramSkip visual syntax diagramNY2AGEOY2AGEyears
years
A number (0 to 999) indicating the number of years by which all defined dates in the file are to be aged.
Example Description
OY2AGE 28 Ages all defined dates in the old file by 28 years before being compared. The listing shows the original date. For example, a defined date in the old file with a value equating to March 1, 1997, is aged to March 1, 2025 before being compared to its equivalent in the new file.