SQL/MX 3.2.1 Messages Manual (H06.26+, J06.15+)

Parser and Compilation Messages (3000 through
3999)
HP NonStop SQL/MX Release 3.2.1 Messages Manual691121-002
5-2
SQL 3003
Cause. You defined length or precision as zero. You must enter a value greater than
zero.
Effect. The operation fails.
Recovery. Enter a value greater than zero and resubmit.
SQL 3004
Cause. You defined a delimited identifier as blanks. You must enter at least one
nonblank character.
Effect. The operation fails.
Recovery. Enter at least one nonblank character and resubmit.
SQL 3005
Cause. You attempted to use a DECLARE CURSOR statement without declaring a
cursor name or using the name of a previously prepared statement.
Effect. The operation fails.
Recovery. Declare a cursor name, or use the name of a previously prepared
statement, and resubmit.
SQL 3006
Cause. You attempted to declare a dynamic cursor in a way that does not match the
statement. Both must be literals or both must be string host variable expressions.
Effect. The operation fails.
3003 Length or precision must be greater than zero.
3004 A delimited identifier must contain at least one
nonblank character.
3005 A DECLARE CURSOR statement cannot dynamically get its
cursor name from a host variable while also statically
declaring a cursor specification. A dynamic cursor requires
the name of a previously prepared statement or a host
variable containing such a name; a static cursor requires a
fixed, static name.
3006 In a dynamic cursor declaration, both the cursor and the
statement must be named in the same way: both must be
literals or both must be string host variable expressions.