Find 'em, Fix 'em / Investigation and Planning /Plan!Plan!Plan!/Applications

### What about DFSORT?

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,...)
OPTION Y2PART=nn where nn=number of years back to start of window OPTION Y2PART=nnnn where nnnn=fixed window start date. | 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.

#### VSE

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

- process 2-digit year dates
- set a fixed or sliding century window
- transform a 2digit year date field in the input file to a 4-digit year date field in the output file from a COBOL program,

visit the DFSORT/VSE home page.