SQL/MX Programming Manual for Java
SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java—523726-003
D-65
Java Syntax Checking (0500-000400—0500-
005000)
0500-001900
Cause. You tried to use a Boolean operator with one or more non-Boolean operands.
The operands for a Boolean operator must be the Boolean type.
Effect. SQLJ cannot parse the statement.
Recovery. Check the operands of Boolean operator and resubmit with the correct
operand types.
0500-002000
Cause. You tried to use a comparison operator (<, <=, >, >=) with one or more non-
numeric operands. The operands for a comparison operator must be the numeric type.
Effect. SQLJ cannot parse the statement.
Recovery. Check the operands of the comparison operator and resubmit with numeric
types.
0500-002100
Cause. You tried to use the complement operator (~) using a non-integral operand.
Effect. SQLJ cannot parse the statement.
Recovery. Verify that the complement operator has an integral operand and resubmit.
0500-002200
Cause. The first operand used in the ternary operator was not a Boolean type, which
is required.
Effect. SQLJ cannot parse the statement.
Recovery. Verify that the first operand is a Boolean type and resubmit.
[0500-001900] Boolean operator requires boolean operands.
[0500-002000] Comparison operator requires numeric operands.
[0500-002100] Complement operator requires integral operand.
[0500-002200] Conditional expression requires boolean for its
first operand.