SQL/MX Programming Manual for Java

SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java523726-003
D-70
Java Syntax Checking (0500-000400—0500-
005000)
0500-004000
Cause. You tried to use initialization lists, such as array initialization, which are
disallowed in bind expressions.
Effect. SQLJ cannot parse the statement.
Recovery. Check the bind expression and resubmit without initialization lists.
0500-004100
Cause. You tried to use anonymous classes in bind expressions, which is disallowed.
Effect. SQLJ cannot parse the statement.
Recovery. Check the bind expression and resubmit without anonymous classes.
0500-004200
Cause. You declared a connection context or iterator inside a method block, which is
disallowed.
Effect. SQLJ cannot parse the statement.
Recovery. Remove the declaration clause from the method block and resubmit. See
Placement of Declaration Clauses on page 3-2.
0500-004300
Cause. SQLJ encountered an invalid iterator declaration, possibly a missing class.
Effect. SQLJ cannot parse the statement.
Recovery. Report the entire message to your service provider.
[0500-004000] Initialization lists are not allowed in bind
expressions.
[0500-004100] Anonymous classes are not allowed in bind
expressions.
[0500-004200] SQLJ declarations cannot be inside method
blocks.
[0500-004300] Invalid SQL iterator declaration.