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


Example 3

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

 INCLUDE   COND=(11,2,ALL,B'0001001000110100',
                 OR,21,1,NONE,B'01001100'),FORMAT=BI
This example illustrates how to only include records in which:
  • Bytes 11 through 12 have all of bits 3, 6, 10, 11 and 13 on

    OR

  • Byte 21 has none of bits 1, 4, or 5 on.

Results for selected field values are shown as follows:

Table 1. Bit Comparison Example 3: Results for Selected Field Values
Bit Comparison Example 3: Results for Selected Field Values11,2,BI Value
11,2,BI Result 21,1,BI Value 21,1,BI Result Action
X'1234' True X'4C' False Include Record
X'02C4' False X'81' True Include Record
X'0204' False X'40' False Omit Record
X'F334' True X'00' True Include Record
X'1238' False X'4F' False Omit Record

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014