Previous topic |
Next topic |
Contact z/OS |
z/OS DFSORT Application Programming Guide
You can use DFSORT's Y2 formats in conjunction with the century window in effect, as follows:
For example, you can include only those records for which a Z'yymm' date field is between January 1996 and March 2005. Or you can include only those records for which a P'dddyy' field is less than another P'dddyy' field. Or you can include only those records for which a C'yyddd' field is between today's date and 5 days earlier than today's date.
The ordering of dates and special indicators used for comparisons with Y2 fields and Y constants is the same as the ascending orders for sorting and merging Y2 fields (see SORT control statement for details).
Copyright IBM Corporation 1990, 2014