SQL/MX Programming Manual for Java

SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java523726-003
D-30
Semantic Analysis (0201-000100—0201-022306)
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Resubmit with the correct FETCH syntax. For the syntax of a FETCH
statement, see the SQL/MX Reference Manual.
0201-007415
Cause. There was a type mismatch between the Java type of the host variable in the
INTO clause and the SQL type of the database column. The expected type was
expected_type but you specified specified_type.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that the Java type of the host variable in the INTO clause matches
the expected_type of the SQL column, make the necessary corrections, and
resubmit. For details, see Data Type Support on page 3-32.
0201-007500
Cause. You did not specify an iterator host variable in the FETCH statement.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Resubmit with the iterator host variable in the FETCH statement. For
details, see Retrieving Rows From a Positioned Iterator on page 3-49. For the syntax
of a FETCH statement, see the SQL/MX Reference Manual.
0201-007600
Cause. You did not specify an iterator host variable, or you did not prefix the iterator
host variable with a colon (:).
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Specify an iterator host variable or prefix the iterator host variable with a
colon in the FETCH statement and resubmit. For details, see Retrieving Rows From a
Positioned Iterator on page 3-49. For the syntax of a FETCH statement, see the
SQL/MX Reference Manual.
[0201-007415] Type mismatch in argument #num of INTO-list.
Expected:
expected-type Found: specified-type
[0201-007500] Expected cursor host variable.
[0201-007600] Expected cursor host variable. Encountered:
"
specified-token"