Example 2

 INCLUDE   COND=(11,1,BI,BM,X'85')

This example illustrates how to only include records in which byte 11 has some, but not all of bits 0, 5 and 7 on. Results for selected field values are shown as follows:

Table 1. Bit Comparison Example 2: Results for Selected Field Values
Bit Comparison Example 2: Results for Selected Field Values11,1,BI Value
11,1,BI Result Action
X'85' False Omit Record
X'C1' True Include Record
X'84' True Include Record
X'00' False Omit Record