Example 1

 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.