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,-+-EQ-+-,-+-UC-+-)--------------------------------><
              '-NE-'   +-LC-+     
                       +-MC-+     
                       +-UN-+     
                       +-LN-+     
                       '-MN-'     

Or, if the FORMAT=BI operand is used:

Read syntax diagramSkip visual syntax diagram
>>-(p1,m1,-+-----+-+-EQ-+-,-+-UC-+-)---------------------------><
           '-BI,-' '-NE-'   +-LC-+     
                            +-MC-+     
                            +-UN-+     
                            +-LN-+     
                            '-MN-'     

Alphanumeric test operators are as follows:
EQ
Equal to specified set of alphanumerics
NE
Not equal to specified set of alphanumerics (non-alphanumerics)

Fields:

p1,m1
These variables specify the field in the input record for the alphanumeric test.
  • p1 specifies the first byte of the field relative to the beginning of the input record1. The first data byte of a fixed-length record (FLR) has relative position 1. The first data byte of a variable-length (VLR) record has relative position 5 (because the first 4 bytes contain the record descriptor word). All fields must start on a byte boundary, and no field can extend beyond byte 32752.
  • m1 specifies the length of the field. The length can be 1 to 256 bytes.
UC
Specifies a test for the set of uppercase characters (A-Z). The condition will be true if the field is all uppercase characters when the EQ operator is specified or if the field is not all uppercase characters when the NE operator is specified.
LC
Specifies a test for the set of lowercase characters (a-z). The condition will be true if the field is all lowercase characters when the EQ operator is specified or if the field is not all lowercase characters when the NE operator is specified.
MC
Specifies a test for the set of mixed case characters (A-Z and a-z). The condition will be true if the field is all mixed case characters when the EQ operator is specified or if the field is not all mixed case characters when the NE operator is specified.
UN
Specifies a test for the set of uppercase and numeric characters (A-Z and 0-9). The condition will be true if the field is all uppercase or numeric characters when the EQ operator is specified or if the field is not all uppercase or numeric characters when the NE operator is specified.
LN
Specifies a test for the set of lowercase and numeric characters (a-z and 0-9). The condition will be true if the field is all lowercase or numeric characters when the EQ operator is specified or if the field is not all lowercase or numeric characters when the NE operator is specified.
MN
Specifies a test for the set of mixed case and numeric characters (A-Z, a-z or 0-9). The condition will be true if the field is all mixed case or numeric characters when the EQ operator is specified or if the field is not all mixed case or numeric characters when the NE operator is specified.
1 If your E15 user exit routine formats the record, p1 must refer to the record as reformatted by the exit.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014