z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Year aging

z/OS ISPF User's Guide Vol II
SC19-3628-00

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 diagram
>>-+-NY2AGE-+--years-------------------------------------------><
   '-OY2AGE-'          

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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014