SQL/MX Programming Manual for Java

SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java523726-003
D-6
SQLJ Syntax Checking (0100-000200—0100-
002800)
0002-007100
Cause. SQL compilation failed because SQLJ could not find the SQL/MX compiler or
because there were problems during SQL compilation.
Effect. The SQLJ translator fails during SQL compilation.
Recovery. Verify that the SQL/MX compiler (MXCMP) is at /G/system/system or
explicitly specify its name on the command line (for example, -sqlmx-compiler-
executable=/usr/username/mymxcmp
). See -sqlmx-compiler-executable on
page 5-23
SQLJ Syntax Checking (0100-000200—0100-002800)
These messages occur during the verification of the SQLJ syntax during translation.
0100-000200
Cause. There was no equal sign (=) between an iterator variable and the SELECT
statement, as is required.
Effect. SQLJ cannot parse the SQL statement.
Recovery. Correct the syntax and resubmit. For details, see the Assignment Clause
on page A-5.
0100-000600
Cause. SQLJ encountered duplicate access modifiers in the connection or iterator
declaration clause.
Effect. SQLJ cannot parse the declaration clause.
Recovery. Correct the syntax and resubmit. For details, see the Connection
Declaration Clause on page A-1 or Iterator Declaration Clause on page A-2.
0100-000700
Cause. SQLJ encountered incompatible attributes in the connection or iterator
declaration clause.
[0002-007100] SQL/MX compilation resulted in error verify
sqlmx-compiler-executable name and path:
string
[0100-000200] Missing equal sign in assignment.
[0100-000600] Duplicate access modifier.
[0100-000700] Attributes
attr1 and attr2 are not compatible.