M204.0193
Jump to navigation
Jump to search
M204.0193 Inconsistent range conditions
Two operators following IS in a Find statement or in the selection specification of the IFFIND function are incorrectly used. A correct example is:
AGE IS GREATER THAN 18 AND LESS THAN 64
An incorrect example is:
AGE IS GREATER THAN 18 AND NOT GREATER THAN 5
The operator following AND is illegal with the first operator. In SOUL, compilation continues, but the request is not executed. IFFIND returns a return code of 4.
Response: See the discussion in Numeric range retrievals or Specifying find criteria: numeric values for allowable combinations of operators. Correct the Find statement or IFFIND specification and retry.
Message attributes:
RETCODEO=0 | Sets online return code |
---|---|
RETCODEB=4 | Sets batch (single user) return code |
CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
AUDITER | Writes the message with line type ER to the audit trail |
COUNT | Increments the error count (ERCNT) parameter |
ECHO | Displays the line that caused the error |
COMPILE | Compilation error |