SQL/MX 2.x Messages Manual (G06.24+, H06.03+)

SQL/MX MXCMP Messages (2000 through 2999)
HP NonStop SQL/MX Messages Manual—523730-004
4-16
SQL 2067
Where name is the descriptor name.
Cause. You defined the descriptor name twice in this module.
Effect. SQL/MX uses the first definition.
Recovery. Informational message only; no corrective action is needed.
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. SQL/MX is unable to compile the module.
2067 Descriptor name has already been defined in this
module. The previous definition is being retained and this
latest one ignored.
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.