SQL/MX Programming Manual for Java

SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java523726-003
D-47
Semantic Analysis (0201-000100—0201-022306)
Recovery. Verify the with attribute in the iterator declaration clause and resubmit with
a valid attribute name. For details, see the Iterator Declaration Clause on page A-2.
0201-015402
Cause. You specified an unsupported with attribute named attrname in a
connection declaration clause.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify the with attribute in the connection declaration clause and resubmit
with a valid attribute name. For details, see the Connection Declaration Clause on
page A-1.
0201-015600
Cause. You did not specify an output host variable or expression (OUT or INOUT
mode) as the result expression.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Resubmit with an output host variable or expression for the result
expression. For details, see Host Variables and Expressions on page 3-27.
0201-015602
Cause. The item #num that you specified in the INTO clause of a SELECT or FETCH
statement must be an output host variable or expression (OUT or INOUT mode).
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Resubmit with an output host variable or expression in the INTO clause of
the FETCH or SELECT statement. For details, see Host Variables and Expressions on
page 3-27.
0201-015603
Cause. The host variable #num that you specified must be an output host variable or
expression (OUT or INOUT mode).
[0201-015402] ConnectionContext attribute attrname is not
defined in the SQLJ specification.
[0201-015600] Result expression must be an lvalue.
[0201-015602] INTO-list item #
num must be an lvalue..
[0201-015603] Host item #num must be an lvalue.