SQL/MX Programming Manual for Java
SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java—523726-003
D-31
Semantic Analysis (0201-000100—0201-022306)
0201-007700
Cause. The syntax of the FETCH statement was incorrect, or there was no colon (:)
before a host variable in the INTO clause of the FETCH statement.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Correct the syntax of the FETCH statement or prefix each host variable in
the FETCH statement with a colon 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-007800
Cause. You specified an iterator variable with an invalid type type in the FETCH
statement.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Declare the iterator variable with a valid iterator type and resubmit. For
details, see Iterators and Result Sets on page 3-48. For the syntax of a FETCH
statement, see the SQL/MX Reference Manual.
0201-007801
Cause. You specified incorrect syntax for a FETCH statement.
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-007900
Cause. The iterator variable in a FETCH statement did not have a Java type.
Effect. The SQLJ translator fails during semantic analysis.
[0201-007700] Expected end of FETCH statement. Encountered:
"
specified-token"
[0201-007800] Invalid cursor type in FETCH statement:
type.
[0201-007801] Expected: FETCH :cursor INTO ...
[0201-007900] Cursor type in FETCH statement does not have a
Java type.