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


Example

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

 OMIT COND=(27,1,CH,EQ,C'D',&,
            (22,2,BI,SOME,X'C008',|,
             28,1,BI,EQ,B'.1....01'))
This statement omits records in which:
  • Byte 27 contains D

    AND

  • Bytes 22 through 23 have some, but not all of bits 0, 1 and 12 on OR byte 28 is equal to the specified pattern of bit 1 on, bit 6 off and bit 7 on.

Note that the AND and OR operators can be written with the AND and OR signs, and that parentheses are used to change the order in which AND and OR are evaluated.

For additional examples of logical expressions, see INCLUDE control statement.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014