Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 13 z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
This example illustrates how to convert an mmddyy date to a ccyyddd date and a 3-character weekday string, and how to convert a ccyyddd date to a ccyy/mm/dd date and 1-digit weekday string. The input records might be as follows:
The output records would be as follows:
The Y2PAST=1996 option sets the century window to 1996-2095. The century window is used to transform yy in the Y2W field to ccyy. Note that date conversion is not performed for the special indicators (all 9s and all 0s); the special indicator is just used appropriately for the output date field. |
Copyright IBM Corporation 1990, 2014
|