M204.0193

From m204wiki
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=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error
COMPILECompilation error

Back to list of messages