z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 1

z/OS DFSORT Application Programming Guide
SC23-6878-00

 INCLUDE FORMAT=Y2T,
   COND=(3,4,GE,Y'9901',AND,
         3,4,LE,Y'0312',OR,
         3,4,LE,Y'0000')
This example illustrates how to only include records in which:
  • A C'yymm' date field in bytes 3 through 6 is between January 1999 and December 2003

    OR

  • Bytes 3 through 6 contain CH zeros (C'0000'), ZD zeros (Z'0000') or BI zeros (X'00000000').

Note that the century window in effect will be used to interpret the Y'9901' and Y'0312' date constants, as well as real dates in the C'yymm' date field. However, the century window will not be used to interpret the Y'0000' special indicator constant or special indicators in the C'yymm' date field.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014