SQL/MX 2.x Messages Manual (H06.10+, J06.03+)

Binder and Compilation Messages (4000 through 4999)
HP NonStop SQL/MX Messages Manual—544518-011
6-48
SQL 4304
Cause. In the SQL/MX statement being compiled, you attempted to invoke a stored
procedure that contains the same host variable or dynamic parameter in more than
one OUT or INOUT parameter.
Effect. This is a warning message only. Results will be unpredictable. The host
variable could have any one of the actual OUT values.
Recovery. Use different host variables for each of the OUT or INOUT parameters.
SQL 4305
Cause. In the SQL/MX statement being compiled, you attempted to invoke a stored
procedure that has an OUT or INOUT parameter that is neither a host variable nor a
dynamic parameter.
Effect. The SQL/MX statement is not compiled.
Recovery. Correct the SQL/MX statement. Supply a host variable or a dynamic
parameter for OUT or INOUT parameters, and retry the compilation.
SQL 4306
Cause. In the SQL/MX statement being compiled, a CALL statement was present
within a BEGIN...END block.
Effect. The SQL/MX statement is not compiled.
Recovery. Remove the CALL statement from the compound statement and retry the
compilation.
4304 Host variable or dynamic parameter parameter-name is
used in more than one OUT or INOUT parameter for routine
routine-name. Results may be unpredictable.
4305 Parameter value for user-defined routine routine-name is
an OUT or INOUT parameter and must be a host variable or a
dynamic parameter.
4306 A CALL statement is not allowed within a compound
statement.