Find 'em, Fix 'em / Investigation and Planning /Plan!Plan!Plan!/Applications
![]() |
Year 2000 features have been added to DFSORT Release 13 (PTF UN90139) that you can use to sort, merge, and transform a wide variety of dates with two-digit years, according to a specified sliding or fixed century window.
To use the century window function in a SORT, you need to tell DFSORT when your century window starts and which fields are to be sorted using the century window. Use these control statement in JCL:
OPTION Y2PAST | SORT FIELDS=(n,n,Y2C,A,...) |
|
Where Y2C, Y2Z, Y2P, and Y2D identify 2-digit year fields in character, zoned decimal, packed decimal, and decimal form |
The Year 2000 features of DFSORT also include performance and capacity enhancements, so check it out even if you are using date expansion.
You can now use DFSORT/VSE's Year 2000 features with LE/VSE COBOL (at the LE/VSE 1.4 level). LE /VSE PTM UQ05847 provides this capability. For a detailed example of how to tell DFSORT/VSE to
visit the DFSORT/VSE home page.