SQL/MX 2.x Messages Manual (H06.10+, J06.03+)
SQL/MX MXCMP Messages (2000 through 2999)
HP NonStop SQL/MX Messages Manual—544518-011
4-17
SQL 2068
Cause. You specified a procedure whose body is invalid. It must be a SELECT,
INSERT, UPDATE, DELETE, DECLARE CATALOG, DECLARE SCHEMA, or static
DECLARE CURSOR.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 2069
Cause. You specified a static cursor declaration that is outside the body of a
procedure. It should appear only in the body of a procedure.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 2070
Cause. In a module definition file, you specified a query statement such as SELECT,
INSERT, UPDATE, DELETE, or a DDL statement. These statements must be
embedded in procedures.
Effect. NonStop SQL/MX is unable to compile the module.
Recovery. Correct the syntax and resubmit.
SQL 2071
Where name is the name of the module.
Where definition type is the previous definition
Cause. You defined name twice in this module in which it was defined as a type
definition type.
2068 A procedure body must be a SELECT, INSERT, UPDATE,
DELETE, DECLARE CATALOG, DECLARE SCHEMA, or a static DECLARE
CURSOR.
2069 A static cursor declaration may appear only in the body
of a procedure.
2070 Statement is not valid in this context.
2071 The name name has already been declared or defined in
this module. The previous definition, as a definition type,
is being retained and this latest one ignored.










