D2 format on COND operand
Following is the syntax for the INCLUDE or OMIT statements using the D2 format on the COND operand.
- Where
- Represents
- mc
- the correlator identifier, a numeric value used to identify each relational condition
- mm
- field length
- mf
- the D2 format designating an EFS field within the relational condition
- operator
- a valid DFSORT comparison or bit logic operator
- constant
- a valid DFSORT decimal, character, hexadecimal or bit constant.
- mask
- a valid DFSORT hexadecimal or bit string
Table 1 gives an example of using a correlator identifier and the D2 format for an INCLUDE control statement returned to DFSORT by the EFS program.
Note: The values for the correlator identifiers assigned to each relational
condition by the EFS program can be in any chosen order. The example
in Table 1 shows a sequential ordering
for the correlator identifiers.
You must adhere to the following requirements for the D2 format:
- The mc, mm, or constant values returned must be valid INCLUDE
or OMIT control statement values, except:
- The combined value of mc and mm might exceed the record length.
- Any valid DFSORT constant or mask is allowed.
- If COND=(mc1,mm1,mf1,operator,mc2,mm2,mf2) is used, both mf1 and mf2 must be D2.
- CHALT has no effect on EFS fields.
- FORMAT=D2 is not allowed.
Correlator Identifier and D2 Format Returned by
an EFS ProgramFormat
|
---|
Original INCLUDE control statement sent to EFSPGM INCLUDE COND=(15,4,FF,EQ,20,4,FF,AND,40,7,FF,NE,50,7,FF,OR, 30,2,FF,NE,35,2,FF) Altered INCLUDE control statement returned by EFSPGM INCLUDE COND=(1,4,D2,EQ,1,4,D2,AND,2,7,D2,NE,2,7,D2,OR,3,2,D2,NE,3,2,D2) Where:
|