SQL/MX Programming Manual for Java
SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java—523726-003
D-71
Java Syntax Checking (0500-000400—0500-
005000)
0500-004500
Cause. SQLJ encountered a NullPointerException while parsing an expression 
Effect. SQLJ cannot parse the statement.
Recovery. Check the expression and resubmit. If the error recurs, report the entire 
message to your service provider.
0500-004600
Cause. You specified the IN mode to retrieve a value using the INTO clause, which is 
disallowed.
Effect. SQLJ cannot parse the statement.
Recovery. Remove the IN keyword and either resubmit without any mode 
specification or specify the OUT mode. For details, see Input and Output Modes on 
page 3-27.
0500-004700
Cause. You specified the INOUT mode to retrieve a value using the INTO clause, 
which is disallowed.
Effect. SQLJ cannot parse the statement.
Recovery. Remove the INOUT keyword and either resubmit without any mode 
specification or specify the OUT mode. For details, see Input and Output Modes on 
page 3-27.
0500-004800
Cause. The SELECT statement did not contain, as required, a FROM clause after the 
INTO clause.
Effect. SQLJ cannot parse the statement.
Recovery. Correct the syntax and resubmit. For details, see the SQL/MX Reference 
Manual. 
[0500-004500] illegal expression
[0500-004600] IN mode is not allowed for INTO-variables.
[0500-004700] INOUT mode is not allowed for INTO-variables.
[0500-004800] Expected 'FROM' to follow 'SELECT ... INTO ...'










