SQL/MX Programming Manual for Java
SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java—523726-003
D-29
Semantic Analysis (0201-000100—0201-022306)
0201-007410
Cause. You specified an invalid Java type type for host variable #num in the INTO
clause of a FETCH statement.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Declare the host variable with a valid data type and resubmit. For details,
see Data Type Support on page 3-32.
0201-007412
Cause. You specified a host variable that does not have a Java type in the INTO
clause of a FETCH or SELECT statement. You might have used an undeclared host
variable.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Declare the host variable with the correct and supported data type and
resubmit. For details, see Data Type Support on page 3-32.
0201-007413
Cause. The number of host variables in the INTO clause of a FETCH statement
exceeded the number of iterator columns, which is disallowed.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Specify the correct number and sequence of host variables in the INTO
clause of 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-007414
Cause. You specified incorrect syntax for the FETCH statement, such as a missing
INTO clause.
[0201-007410] Invalid Java type for item #num of INTO-list:
type.
[0201-007412] Item #
num of INTO-list does not have a Java
type.
[0201-007413] Cursor has
total-num items. Argument #position-
num of INTO-list is invalid.
[0201-007414] Expected INTO bind expression.