SQL/MX Programming Manual for Java

SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java523726-003
D-22
Semantic Analysis (0201-000100—0201-022306)
0201-006800
Cause. SQLJ encountered an illegal host variable in the INTO clause of a FETCH
statement.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Resubmit with the correct number and sequence of host variables in the
INTO clause. 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-006801
Cause. The SQLJ translator could not locate a host variable into which the value of
the fetched iterator column iter-column would be stored.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that the INTO clause of the FETCH statement contains the correct
number and sequence of host variables to retrieve iterator column values 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-006802
Cause. The SQLJ translator could not locate the missing host variable num into which
the value of the fetched iterator column iter-column would be stored.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that the INTO clause of the FETCH statement contains the correct
number and sequence of host variables to retrieve iterator column values 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-006900
Cause. SQLJ could not obtain a java.sql.DatabaseMetaData object for the
stored procedure routine-name from JDBC. The cause might be the JDBC driver.
[0201-006800] Illegal INTO ... bind variable list: message.
[0201-006801] Missing element in INTO list:
iter-column
[0201-006802] Missing num elements in INTO list: iter-column
[0201-006900] Unable to obtain description of stored function
or procedure:
routine-name.