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


Relational condition format

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

Two formats for the relational condition can be used:

Read syntax diagramSkip visual syntax diagram
>>-(p1,m1,BI,--+-ALL-----+--,--mask--)-------------------------><
               +-SOME----+               
               +-NONE----+               
               +-NOTALL--+               
               +-NOTSOME-+               
               +-NOTNONE-+               
               +-BO------+               
               +-BM------+               
               +-BZ------+               
               +-BNO-----+               
               +-BNM-----+               
               '-BNZ-----'               

Or, if the FORMAT=BI operand is used:

Read syntax diagramSkip visual syntax diagram
>>-(p1,m1,--+-----+--+-ALL-----+--,--mask--)-------------------><
            '-BI,-'  +-SOME----+               
                     +-NONE----+               
                     +-NOTALL--+               
                     +-NOTSOME-+               
                     +-NOTNONE-+               
                     +-BO------+               
                     +-BM------+               
                     +-BZ------+               
                     +-BNO-----+               
                     +-BNM-----+               
                     '-BNZ-----'               

Bit operators describe the input field to mask relationship to be tested as follows:
ALL or BO
All mask bits are on in the input field
SOME or BM
Some, but not all mask bits are on in the input field
NONE or BZ
No mask bits are on in the input field
NOTALL or BNO
Some or no mask bits are on in the input field
NOTSOME or BNM
All or no mask bits are on in the input field
NOTNONE or BNZ
All or some mask bits are on in the input field

The first set of operators (ALL, SOME, and so on) are intended for those who like meaningful mnemonics. The second set of operators (BO, BM, and so on) are intended for those familiar with the conditions associated with the Test Under Mask (TM) instruction.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014