HPlogo ALLBASE/SQL Message Manual: HP 3000 MPE/iX Computer Systems

Chapter 5 ALLBASE/SQL Error Messages: 2101-2419

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

2101
MESSAGE

ALLBASE/SQL already started. (DBERR 2101)

CAUSE

A START DBE or CONNECT statement was entered after a DBE session was already started.

ACTION

No action is necessary.

2102
MESSAGE

Command requires a transaction to be in progress. (DBERR 2102)

CAUSE

A COMMIT WORK or ROLLBACK WORK statement was issued before a transaction was started.

ACTION

No action is necessary. To begin a transaction, issue a BEGIN WORK statement.

2103
MESSAGE

Transaction already started. (DBERR 2103)

CAUSE

You attempted to start a second transaction before the current transaction was committed.

ACTION

Issue a COMMIT WORK or ROLLBACK WORK statement to terminate the previous transaction, then issue a BEGIN WORK statement to start the next transaction.

2105
MESSAGE

Specified DBEnvironment already exists. (DBERR 2105)

CAUSE

You tried to create a DBEnvironment that already exists.

ACTION

Issue the START DBE NEW statement again, specifying a unique name.

2106
MESSAGE

Backward migration is needed - use SQLMigrate. (DBERR 2106)

CAUSE

The release of the ALLBASE/SQL software does not match the version of the DBEnvironment.

ACTION

Use the migration tool, SQLMigrate, to migrate the DBEnvironment backward to the proper version or use a newer release of the ALLBASE/SQL software.

2107
MESSAGE

Forward migration is needed - use SQLMigrate. (DBERR 2107)

CAUSE

The release of the ALLBASE/SQL software does not match the version of the DBEnvironment.

ACTION

Use the migration tool, SQLMigrate, to migrate the DBEnvironment forward to the proper version or use an older release of the ALLBASE/SQL software.

2108
MESSAGE

DBEnvironment corrupted during previous migration. (DBERR 2108)

CAUSE

At some prior time, a migration attempt failed which corrupted the DBEnvironment in the process.

ACTION

Restore the DBEnvironment from the backup.

2109
MESSAGE

DBEnvironment must be recreated to use this release of ALLBASE/SQL. (DBERR 2109)

CAUSE

The release under which the DBE was created is not supported in the current release of ALLBASE/SQL.

ACTION

Recreate the DBE using the current release of ALLBASE/SQL.

2200
MESSAGE

DBEFileSet ! not found. (DBERR 2200)

CAUSE

You tried to access a DBEFileSet that does not exist.

ACTION

Check your spelling. If you still receive this error ask your Database Administrator to check the SYSTEM.DBEFILESET system catalog to make sure that the DBEFileSet exists.

2201
MESSAGE

DBEFileSet ! already exists. (DBERR 2201)

CAUSE

You tried to CREATE a DBEFileSet that already exists.

ACTION

Issue the CREATE DBEFILESET statement again, specifying a unique name.

2202
MESSAGE

DBEFile ! not found. (DBERR 2202)

CAUSE

You tried to access a DBEFile that does not exist in this DBEnvironment by using the ADD DBEFILE, DROP DBEFILE, or REMOVE DBEFILE statement.

ACTION

Check your spelling. Check the SYSTEM.DBEFILE view to make sure that the specified DBEFile does exist.

2203
MESSAGE

DBEFile ! already exists. (DBERR 2203)

CAUSE

You tried to create a DBEFile that was already created in this DBEnvironment.

ACTION

Issue the command again, specifying a unique name.

2204
MESSAGE

DBEFile ! not associated with DBEFileSet !. (DBERR 2204)

CAUSE

The DBEFile named in the command is not associated with the DBEFileSet named in the same command.

ACTION

Ask your database administrator to check the SYSTEM.DBEFILE view to verify which DBEFileSet the DBEFile is associated with.

2205
MESSAGE

DBEFile ! already associated with DBEFileSet !. (DBERR 2205)

CAUSE

The ADD DBEFILE statement contained a DBEFile that is already a member of the DBEFileSet specified.

ACTION

No action is necessary.

2206
MESSAGE

Table/View !.! not found. (DBERR 2206)

CAUSE

The table or view specified in the query or command does not exist in the DBEnvironment.

ACTION

Check your spelling, owner name, and system catalog. If you still receive this error ask your database administrator to check the SYSTEM.TABLE or SYSTEM.VIEW view to make sure that the specified table does exist.

2207
MESSAGE

Table/View !.! already exists. (DBERR 2207)

CAUSE

The table or view you specified in the CREATE TABLE or CREATE VIEW statement already exists in the DBEnvironment.

ACTION

Create the table or view with a different name (same owner) or different owner name (same table or view name).

2208
MESSAGE

Column ! not found in table/view !.!. (DBERR 2208)

CAUSE

The column name you specified was not found in the specified table or view.

ACTION

Check your spelling. If you still receive this error, use the ISQL INFO command or ask your database administrator to check SYSTEM.COLUMN to make sure that the specified column does exist in the table.

2209
MESSAGE

Duplicate column !. (DBERR 2209)

CAUSE

You specified a column name twice in the CREATE TABLE or CREATE INDEX statement or you specified a column already existing in the table in the ALTER TABLE statement.

ACTION

Issue the command again, specifying unique column names.

2210
MESSAGE

Ambiguous column !. (DBERR 2210)

CAUSE

The column you specified in the query exists in more than one table specified in the query.

ACTION

Execute your query again, specifying the table name as well as the column name.

2211
MESSAGE

Column ! not found. (DBERR 2211)

CAUSE

The column you specified in the query does not exist in any of the specified tables.

ACTION

Check your spelling. If you still receive this error ask your database administrator to check the SYSTEM.COLUMN view to make sure that the specified column does exist.

2212
MESSAGE

Index ! not found in table !.!. (DBERR 2212)

CAUSE

A non-existent index was specified in the DROP INDEX statement

or

the index specified in the DROP command is not associated with the specified table.

ACTION

Check your spelling. If you still receive this error, ask your database administrator to check the SYSTEM.INDEX view to make sure that the specified index does exist in the specified table.

2213
MESSAGE

Duplicate index !. (DBERR 2213)

CAUSE

The index you named in the CREATE INDEX statement already exists for the specified table.

ACTION

Create the index with another name or DROP the old index before you create the new one.

2214
MESSAGE

Unrecognizable command or module !.!(!) not found. (DBERR 2214)

CAUSE

One of two error conditions has occurred. Either the command you entered is not recognizable or the module specified cannot be found.

ACTION

Check your spelling. Ask your database administrator to check the SYSTEM.SECTION view to make sure that the module exists in the DBEnvironment to which the application is connected.

2215
MESSAGE

Module !.!(!) already exists. (DBERR 2215)

CAUSE

You tried to PREPARE a module or declare a cursor which already exists.

ACTION

Issue the command again, specifying a unique module name. Use another integer or give the command a different name. Ask your Database Administrator to check the SYSTEM.SECTION view for names of existing modules.

2216
MESSAGE

Module !.! not found. (DBERR 2216)

CAUSE

You tried to execute the OPEN CURSOR statement or the DROP MODULE statement on a non-existent section

or

the module in the DROP MODULE statement does not exist.

ACTION

Check your spelling. If you still receive this error, ask your Database Administrator to check the SYSTEM.SECTION view to make sure that the module exists in the specified DBEnvironment.

2218
MESSAGE

TempSpace name ! already defined. (DBERR 2218)

CAUSE

You tried to create a TEMPSPACE that was already created in this DBEnvironment.

ACTION

Issue the CREATE TEMPSPACE statement again, specifying a unique logical tempspace name.

2219
MESSAGE

TempSpace name ! not found. (DBERR 2219)

CAUSE

You tried to access a TEMPSPACE that does not exist in this DBEnvironment by using the DROP TEMPSPACE statement.

ACTION

Check your spelling. Check the SYSTEM.TEMPSPACE table to make sure that the specified TEMPSPACE does exist.

2220
MESSAGE

Duplicate column found in sort column list. (DBERR 2220)

CAUSE

The ORDER BY clause in the SELECT statement contains more than one reference to the same column. The command is not executed.

ACTION

Remove the duplicate column and execute the command again.

2221
MESSAGE

Duplicate column found in insert column list. (DBERR 2221)

CAUSE

The column list in the INSERT statement contains more than one reference to the same column.

ACTION

Remove the duplicate column and execute the command again.

2222
MESSAGE

Table name required to drop index !.!. (DBERR 2222)

CAUSE

You attempted to drop an index with an ambiguous name. The same index name was used in creating indexes on two tables with the same owner.

ACTION

Use the syntax DROP INDEX IndexName FROM [Owner.] TableName to specify which table's index should be dropped.

2223
MESSAGE

Index !.! not found. (DBERR 2223)

CAUSE

A non-existent index was specified in the DROP INDEX statement without an associated table.

ACTION

Check your spelling. If you still receive this error, ask your database administrator to check the SYSTEM.INDEX view to make sure that the specified index does exist.

2224
MESSAGE

! !.! must have same owner as table !.!. (DBERR 2224)

CAUSE

Different owners were given for the named INDEX, CONSTRAINT, or RULE and the named table, or the default table owner was different from the specified INDEX, CONSTRAINT, or RULE owner in the CREATE INDEX, DROP INDEX, DROP CONSTRAINT, CREATE RULE, or DROP RULE statement.

ACTION

If both owners were specified, check your spelling. If the table owner was not specified, either specify one or drop the specification of the INDEX, CONSTRAINT, or RULE owner. If you still receive this error, ask your database administrator to check the SYSTEM.INDEX view, SYSTEM.CONSTRAINT view, or SYSTEM.RULE view to determine the correct owner.

2225
MESSAGE

Out of disc space for all TempSpaces. (DBERR 2225)

CAUSE

There is not enough space in the device to support your sorting operation.

ACTION

Use a different device or contact your database administrator to add more space to the current device.

2226
MESSAGE

Location name must be fully qualified with group and account name. (DBERR 2226)

CAUSE

The location name you specified in the CREATE TEMPSPACE statement was not fully qualified.

ACTION

Issue the CREATE TEMPSPACE statement again, specifying a location name that includes both group and account name.

2227
MESSAGE

Duplicate SCHEMA !. (DBERR 2227 )

CAUSE

There are existing objects already owned by the AuthorizationName specified.

ACTION

Make sure the AuthorizationName specified is neither an owner of existing objects in the DBEnvironment nor a grantor of authority on existing objects. To check ownership, query SYSTEM.TABLE and SYSTEM.GROUP. To check authorities, query SYSTEM.TABAUTH and SYSTEM.COLAUTH.

2228
MESSAGE

Duplicate column ! found in joined table. (DBERR 2228)

CAUSE

With an explicit three or more table join, a result table (which participates in a subsequent join clause) has been produced and it has more than one column with the same column name. This same column name is either specified as a join column in the "ON SearchCondition" clause of the explicit join, or if a NATURAL...JOIN has been specified, the column has been chosen by ALLBASE/SQL as a join column.

ACTION

When writing a three or more table join with explicit join syntax make sure that for any single result table participating in a join, there are no duplicate column names which will be named as a join column. To ensure this, make each join clause a NATURAL...JOIN or a JOIN...USING (ColumnList), except for the final join, which may contain these types or a JOIN...ON SearchCondition3 clause. Otherwise, ensure that each join clause is a JOIN...ON SearchCondition3 clause.

2229
MESSAGE

Duplicate column ! found in USING clause of JOIN. (DBERR 2229)

CAUSE

There is more than one column with the same name in the USING (ColumnList) clause of an explicit join.

ACTION

Remove the duplicate column name from the USING ( ColumnList) clause of the explicit join.

2230
MESSAGE

Maximum number of parameters (!) exceeded in procedure !.!. (DBERR 2230)

CAUSE

The number of parameters you specified in the CREATE PROCEDURE statement was greater than the maximum number allowed.

ACTION

Issue the CREATE PROCEDURE statement again, limiting the number of parameters to 255 or fewer.

2231
MESSAGE

Procedure parameter data type may not be a LONG data type. (DBERR 2231)

CAUSE

You specified a LONG data type as the parameter data type in a CREATE PROCEDURE statement.

ACTION

Issue the statement again, specifying only a valid (non-LONG) data type for each parameter.

2232
MESSAGE

Duplicate parameter !. (DBERR 2232)

CAUSE

You specified a parameter name twice in the CREATE PROCEDURE statement.

ACTION

Issue the statement again, specifying unique parameter names.

2233
MESSAGE

OUTPUT specified for a parameter not declared as OUTPUT. (DBERR 2233)

CAUSE

In the EXECUTE PROCEDURE statement, you specified OUTPUT for a non- OUTPUT parameter.

ACTION

Re-issue the EXECUTE PROCEDURE statement, specifying OUTPUT only for parameters that were declared as OUTPUT parameters in the CREATE PROCEDURE statement. If necessary, recreate the procedure specifying OUTPUT for this parameter.

2234
MESSAGE

No value was provided for non-nullable parameter ! in procedure !.!. (DBERR 2234)

CAUSE

A parameter declared as NOT NULL in the CREATE PROCEDURE statement was not provided with a value in the EXECUTE PROCEDURE statement.

ACTION

Re-issue the EXECUTE PROCEDURE statement, providing a value for each parameter declared as NOT NULL.

2235
MESSAGE

Error occurred executing procedure !.! statement !. (DBERR 2235)

CAUSE

An error occurred during procedure execution.

ACTION

Refer to the accompanying error message. Use the statement number to determine which procedure statement caused the error.

2236
MESSAGE

Doubly defined LABEL !. (DBERR 2236)

CAUSE

You used the same label more than once in a CREATE PROCEDURE statement.

ACTION

Remove the duplicate label definition, and reissue the CREATE PROCEDURE statement.

2237
MESSAGE

Undefined LABEL !. (DBERR 2237)

CAUSE

You refer to an undefined label in a GOTO statement in the CREATE PROCEDURE statement.

ACTION

Define the label within the CREATE PROCEDURE statement.

2238
MESSAGE

Error occurred during evaluation of the condition in an IF or WHILE statement or the expression in a parameter or variable assignment. Procedure execution terminated. (DBERR 2238)

CAUSE

An error occurred in evaluating the condition or expression.

ACTION

Refer to the accompanying error message for additional information.

2239
MESSAGE

Procedure !.! not found. (DBERR 2239)

CAUSE

The procedure you specified in the statement does not exist in the DBEnvironment.

ACTION

Check your spelling of the procedure name and the procedure's owner name against the content of the CATALOG.PROCEDURE view. If you still receive this error, ask your database administrator to check the SYSTEM.PROCEDURE view to make sure the specified procedure does exist.

2240
MESSAGE

Procedure !.! already exists. (DBERR 2240)

CAUSE

The procedure you specified in the CREATE PROCEDURE statement already exists in the DBEnvironment.

ACTION

Create the procedure with a different name and/or owner name.

2241
MESSAGE

Too many parameter values provided for procedure !.!. (DBERR 2241)

CAUSE

In the EXECUTE PROCEDURE statement, you provided a greater number of parameter values than the number of parameters in the procedure.

ACTION

Check the procedure specification or the parameter descriptions in SYSTEM.PARAMETER. Reissue the EXECUTE PROCEDURE statement, providing no more parameter values than the number in the procedure.

2242
MESSAGE

Error(s) occurred processing statement ! during procedure creation/validation. (DBERR 2242)

CAUSE

One or more errors occurred while processing an SQL statement in a procedure. The statement was not stored as an invalid section, since it can never be validated. The procedure was not created.

ACTION

Use the statement number in the message to determine which procedure statement generated the error. Refer to the accompanying messages for more information.

2243
MESSAGE

Execution of procedure of !.! was invalidated. (DBERR 2243)

CAUSE

The procedure executed a statement that invalidated any further execution of the procedure, such as DROP PROCEDURE or TRANSFER OWNERSHIP of the procedure.

ACTION

Modify the procedure definition if you did not intend to invalidate the procedure during its execution. Otherwise, no action is required.

2244
MESSAGE

Invalid parameter name ! provided for procedure !.!. (DBERR 2244)

CAUSE

The name of a parameter in the EXECUTE PROCEDURE statement is not defined in the parameter list of the CREATE PROCEDURE statement.

ACTION

Check the parameter lists of both the EXECUTE PROCEDURE statement and the CREATE PROCEDURE statement and ensure that the two lists match. Then reissue the EXECUTE PROCEDURE statement.

2245
MESSAGE

OUTPUT ONLY specified for a parameter not declared as OUTPUT ONLY. (DBERR 2245)

CAUSE

You specified OUTPUT ONLY for a parameter in an EXECUTE PROCEDURE statement, but the parameter was not declared OUTPUT ONLY in the CREATE PROCEDURE statement.

ACTION

Re-issue the EXECUTE PROCEDURE statement, specifying OUTPUT instead of OUTPUT ONLY. Be sure to initialize the parameter value.

2246
MESSAGE

Number of items in select list does not match number of result columns for procedure. (DBERR 2246)

CAUSE

The select list in a procedure SELECT statement with no INTO clause is incompatible with the format specified in the WITH RESULT clause of the CREATE PROCEDURE statement.

ACTION

Re-write the CREATE PROCEDURE statement, either omitting the WITH RESULT clause, or ensuring that all multiple row result sets returned from the procedure are compatible with the format specified.

2247
MESSAGE

The KEEP option is not allowed for a procedure cursor. (DBERR 2247)

CAUSE

The KEEP option was included on an OPEN cursor command, but the cursor was defined on an EXECUTE PROCEDURE statement.

ACTION

Re-issue the OPEN command, omitting the KEEP option.

2248
MESSAGE

The ADVANCE statement is allowed only for a procedure cursor. (DBERR 2248)

CAUSE

The ADVANCE statement was issued against a cursor, but the cursor was not defined on an EXECUTE PROCEDURE statement.

ACTION

There is no need for the ADVANCE statement for a non-procedure cursor. Use the OPEN, FETCH, and CLOSE statements.

2249
MESSAGE

Duplicate column found in update set columns. (DBERR 2249)

CAUSE

The same column was specified twice in the SET clause of the UPDATE statement.

ACTION

Remove one of the duplicate column assignments.

2250
MESSAGE

CHECK constraint ! on column ! references other columns. (DBERR 2250)

CAUSE

The named CHECK constraint you defined on a single column contains references to other columns.

ACTION

Either remove the references to the other columns, or make the check constraint a table level check constraint.

2251
MESSAGE

CHECK constraint ! contains host variables. (DBERR 2251)

CAUSE

You defined the named CHECK constraint with host variables in it.

ACTION

Remove the host variable from your CHECK constraint.

2252
MESSAGE

CHECK constraint ! contains aggregate functions. (DBERR 2252)

CAUSE

You defined the named CHECK constraint with aggregate functions in it.

ACTION

Remove the aggregate from your CHECK constraint.

2253
MESSAGE

CHECK constraint ! contains subqueries. (DBERR 2253)

CAUSE

You defined the named CHECK constraint with subqueries in it.

ACTION

Remove the subquery from your CHECK constraint.

2254
MESSAGE

Table CHECK constraint violated. (DBERR 2254)

CAUSE

A table CHECK constraint on the target table of the INSERT or UPDATE was violated during its execution.

ACTION

Identify the constraint violated and determine the proper value for the INSERT or UPDATE.

2255
MESSAGE

View CHECK OPTION constraint violated. (DBERR 2255)

CAUSE

A check constraint on the view named for the INSERT or UPDATE was violated during its execution.

ACTION

Identify the view definition violated (under the topmost WITH CHECK OPTION view) and determine the proper value for the INSERT or UPDATE.

2256
MESSAGE

CHECK constraint ! invalid. (DBERR 2256)

CAUSE

The named CHECK constraint will not be executable and so is not valid.

ACTION

Identify the problem with the CHECK constraint by examining the error or errors prior to this one. Correct the problem of those errors in order to make the CHECK constraint executable.

2257
MESSAGE

View defined WITH CHECK OPTION contains non-updatable query. (DBERR 2257)

CAUSE

The view definition cannot be part of a WITH CHECK OPTION since no INSERT or UPDATE can be applied to the view.

ACTION

Either remove the WITH CHECK OPTION clause or modify the view definition to make it updatable. Refer to the ALLBASE/SQL Reference Manual for a definition of updatable views.

2258
MESSAGE

!.! (!) is not a procedure cursor. (DBERR 2258)

CAUSE

The USING clause was included in a CLOSE cursor statement, but the cursor was not defined on an EXECUTE PROCEDURE statement.

ACTION

Re-issue the CLOSE statement, omitting the USING clause, or re-issue the CLOSE statement with the USING clause, specifying the correct cursor name.

2259
MESSAGE

The RESULT option is allowed only for a procedure returning results. (DBERR 2258)

CAUSE

The RESULT option was specified in a DESCRIBE statement, but the statement described is not an EXECUTE PROCEDURE statement.

ACTION

For statements other than EXECUTE PROCEDURE, the DESCRIBE RESULT statement is not necessary. If the sqlmproc field of the SQLDA is 0 after DESCRIBE OUTPUT, there is no need to DESCRIBE RESULT.

2260
MESSAGE

Unnamed CHECK constraint on column ! references other columns. (DBERR 2260)

CAUSE

You defined an unnamed CHECK constraint on a single column contains references to other columns.

ACTION

Identify the unnamed constraint which fits this condition and either remove the references to the other columns or make the check constraint a table level check constraint.

2261
MESSAGE

Unnamed CHECK constraint contains host variables. (DBERR 2261)

CAUSE

You defined an unnamed CHECK constraint with host variables in it.

ACTION

Identify the unnamed constraint which fits this condition and remove the host variables from that CHECK constraint.

2262
MESSAGE

Unnamed CHECK constraint contains aggregate functions. (DBERR 2262)

CAUSE

You defined an unnamed CHECK constraint with aggregate functions in it.

ACTION

Identify the unnamed constraint which fits this condition and remove the aggregate functions from that CHECK constraint.

2263
MESSAGE

Unnamed CHECK constraint contains subqueries. (DBERR 2263)

CAUSE

You defined an unnamed CHECK constraint with subqueries in it.

ACTION

Identify the unnamed constraint which fits this condition and remove the subqueries from it.

2264
MESSAGE

Input value provided for OUTPUT ONLY parameter. (DBERR 2264)

CAUSE

In the EXECUTE PROCEDURE statement, an actual parameter was provided for an OUTPUT ONLY parameter, but OUTPUT ONLY was not specified.

ACTION

Re-issue the EXECUTE PROCEDURE statement, either omitting the actual parameter completely, or passing an OUTPUT ONLY host variable for the actual parameter.

2265
MESSAGE

DEFAULT value provided for OUTPUT ONLY parameter !. (DBERR 2265)

CAUSE

In the CREATE PROCEDURE statement, a default value was provided for an OUTPUT ONLY parameter.

ACTION

Re-issue the CREATE PROCEDURE statement, either omitting the default value, or specifying OUTPUT rather than OUTPUT ONLY.

2266
MESSAGE

Unnamed CHECK constraint invalid. (DBERR 2266)

CAUSE

An unnamed CHECK constraint will not be executable and so is not valid.

ACTION

Identify the unnamed constraint which fits this condition and identify the problem with this CHECK constraint by examining the error or errors prior to this one. Correct the problem of those errors in order to make the CHECK constraint executable.

2267
MESSAGE

Column ! must allow nulls since table !.! is not empty. (DBERR 2267)

CAUSE

A NOT NULL specification in an ALTER TABLE statements requires that the table be empty, or that a non-null DEFAULT clause be used.

ACTION

Include a non-null DEFAULT clause.

2268
MESSAGE

CONSTRAINT !.! for table ! not found. (DBERR 2268)

CAUSE

ConstraintID specified is not a valid constraintID stored in the database.

ACTION

Re-issue the DROP CONSTRAINT statement with a valid ConstraintID.

2269
MESSAGE

PRIMARY KEY can not be dropped since it is referenced by a FOREIGN KEY. (DBERR 2269)

CAUSE

PRIMARY KEY constraints can only be dropped when they are not being referenced by any FOREIGN KEY.

ACTION

Verify whether you want to drop the FOREIGN KEY references before executing this statement again.

2270
MESSAGE

PRIMARY KEY already exists in table !.!. (DBERR 2270)

CAUSE

A PRIMARY KEY is already defined in the table, and only 1 PRIMARY KEY is allowed in a table.

ACTION

You may want to drop the defined PRIMARY KEY if it is not the intended PRIMARY KEY for this table.

2275
MESSAGE

Referenced table in foreign key cannot be a view (!.!). (DBERR 2275)

CAUSE

The table named in a REFERENCES clause was a view.

ACTION

Change the table to the base table on which the view is based.

2276
MESSAGE

User/group ! is using ! authority to support a foreign key. (DBERR 2276)

CAUSE

You attempted to revoke an authority which is currently depended on by the specified user, class or group (directly or indirectly) to authorize a foreign key.

ACTION

Re-issue the revoke with CASCADE specified, or have your DBA or the owner of the foreign key remove the table in which the foreign key resides, or remove the foreign key (using DROP TABLE or DROP CONSTRAINT) and then reissue the revoke.

2277
MESSAGE

Table !.! does not have a primary key, or number of columns in primary key does not match number in foreign key. (DBERR 2277)

CAUSE

The table specified in a REFERENCES clause without a column list has no PRIMARY KEY to use as an implicit column list, or the number of columns in the PRIMARY KEY does not match the number specified in the foreign key list.

ACTION

Specify a column list with the table referenced, or check the number of columns in the primary key of the table referenced.

2278
MESSAGE

Referenced column list does not match any UNIQUE or PRIMARY KEY constraint in table !.!. (DBERR 2278)

CAUSE

The column list given for a table in a REFERENCES clause does not match any candidate key defined on the table.

ACTION

Check the order of the columns, as they must exactly match the order of the candidate key columns. Specify a referenced column list in the same order as some candidate key in the referenced table.

2279
MESSAGE

User ! does not have ! authority on needed columns of table/view !.!. (DBERR 2279)

CAUSE

You do not have the authority to access the columns of a table.

ACTION

Check with the database administrator for the needed authority, sign on as a user with the required authority.

2280
MESSAGE

PRIMARY KEY/UNIQUE constraint with HASH index can not be dropped. (DBERR 2280)

CAUSE

You attempted to drop a constraint that was used in the HASH ON CONSTRAINT clause in the CREATE TABLE statement. These constraints cannot be dropped without dropping the whole table.

ACTION

Check the constraint type in SYSTEM.CONSTRAINT and ensure that the type of the constraint is not "H", for hash.

2281
MESSAGE

Maximum number of columns allowed in a UNIQUE/PRIMARY KEY/FOREIGN KEY is !. (DBERR 2281)

CAUSE

The unique or referential constraint exceeds the maximum number of columns allowed in a unique or referential constraint.

ACTION

Define the unique or referential constraint on columns within this limit.

2282
MESSAGE

UNIQUE/PRIMARY KEY/FOREIGN KEY length exceeds maximum length (! bytes). (DBERR 2282)

CAUSE

Key length exceeds the maximum.

ACTION

Define referential constraints which are within the key length limit specified in the database administrator guide.

2283
MESSAGE

Duplicate column name ! in UNIQUE/PRIMARY KEY/FOREIGN KEY column list. (DBERR 2283)

CAUSE

You specified a column name more than once in a column list of a unique or referential constraint.

ACTION

Re-issue the CREATE TABLE statement without duplicate column names in the UNIQUE/PRIMARY KEY/FOREIGN KEY column lists.

2284
MESSAGE

Invalid data type ! found in column ! specified in a UNIQUE/PRIMARY KEY/FOREIGN KEY constraint column list. (DBERR 2284)

CAUSE

A column found in a unique or foreign key column list is of an invalid data type.

ACTION

Re-issue the statement using columns of the allowed data types in your constraints.

2285
MESSAGE

FOREIGN KEY column ! data type ! doesn't match data type ! of referenced column. (DBERR 2285)

CAUSE

A pair of corresponding columns in the referencing column list and referenced column list of a foreign key constraint have data types which are incompatible for referential constraints.

ACTION

Check the data types of the corresponding columns in your foreign key constraint declarations and make sure they are the same data type.

2286
MESSAGE

UNIQUE/PRIMARY KEY/FOREIGN KEY column ! not defined in CREATE/ALTER TABLE. (DBERR 2286)

CAUSE

The named column appears in an integrity constraint but was not defined in the CREATE TABLE.

ACTION

Re-issue the command with referential constraints defined on columns being defined in the statement.

2287
MESSAGE

Cannot drop a table with a UNIQUE/PRIMARY KEY constraint supporting another table's FOREIGN KEY constraint. (DBERR 2287)

CAUSE

You tried to drop a table with a UNIQUE or PRIMARY KEY constraint. This constraint supports a foreign key in another table.

ACTION

You cannot drop the table until the foreign key reference is dropped.

2288
MESSAGE

Unique constraints with identical unique column lists specified. (DBERR 2288)

CAUSE

Table contains duplicate unique constraints.

ACTION

Re-issue command without redundant unique constraints.

2289
MESSAGE

User ! is using membership in group ! to support a foreign key. (DBERR 2289)

CAUSE

You attempted to remove the specified user from a group, and that user has created a foreign key using authorities granted to the group.

ACTION

Locate and drop the tables created by the user with foreign keys, then reissue the REMOVE FROM GROUP.

2290
MESSAGE

Group ! is being used to support a foreign key. (DBERR 2290)

CAUSE

The group or its members own a table containing a foreign key, and that foreign key was allowed to exist due to authorities granted to the group. Dropping the group would remove the authority for the foreign key.

ACTION

Locate and drop the tables with foreign keys created by group members, then reissue the DROP GROUP.

2291
MESSAGE

2291 Constraint !.! already exists. (DBERR 2291)

CAUSE

A constraint by the specified name already exists, and therefore the CREATE TABLE/TRANSFER OWNERSHIP statement cannot be completed.

ACTION

If TRANSFER OWNERSHIP, transfer the table to a different user. If CREATE TABLE, reissue the command with unique constraint names. Or, drop the table with the conflicting constraint name.

2292
MESSAGE

INSERT/UPDATE/DELETE statement had no effect due to execution errors. (DBERR 2292)

CAUSE

No rows were added, altered or removed by your statement because of an error during execution. Examine the accompanying error messages to determine the cause.

ACTION

Determine the row(s) causing the error and remove them from the statement's field of effect before reissuing the command. This can be done by restricting the WHERE clause of an UPDATE, DELETE, or format 2 INSERT, or removing the offending rows from a bulk insert.

2293
MESSAGE

FOREIGN KEY constraint violated. (DBERR 2293)

CAUSE

The statement you issued attempted to modify the data in a way not allowed by a referential constraint on the target table. You cannot delete or modify a primary key row if a foreign key row references it. You cannot insert or modify a foreign key row if there will be no matching primary key row unless the rows contain NULL values.

ACTION

Determine the row causing the violation by examining the constraints of the target table, and reissue the statement with restrictions so that the offending rows are not within it.

2294
MESSAGE

UNIQUE/PRIMARY KEY column ! must specify NOT NULL. (DBERR 2294)

CAUSE

You must define all columns in a UNIQUE/PRIMARY KEY in the CREATE TABLE statement as NOT NULL.

ACTION

Re-issue the CREATE TABLE specifying NOT NULL for all columns in a UNIQUE/PRIMARY KEY constraint.

2295
MESSAGE

Index uniqueness or UNIQUE/PRIMARY KEY/FOREIGN KEY constraint violated. (DBERR 2295)

CAUSE

You tried to insert a duplicate key value into a column used in a unique index or a unique constraint, or you attempted to insert, update, or delete a unique constraint or foreign key constraint in a manner which would leave a foreign key value without a matching primary key value.

ACTION

A foreign key value may be set to NULL until the correct primary key value is placed in the unique constraint it references; or a duplicate unique constraint/unique index violation can be determined. Once this is done, the command may be reissued without the offending rows.

2296
MESSAGE

Data type for LIKE predicate column must be CHAR or VARCHAR. (DBERR 2296)

CAUSE

The data type of the LIKE predicate column is not a CHAR or VARCHAR.

ACTION

Modify the query to have a CHAR or VARCHAR data type column on the LIKE predicate.

2297
MESSAGE

FOREIGN KEY column ! data type DECIMAL(!,!) doesn't match PRIMARY KEY data type DECIMAL(!,!). (DBERR 2297)

CAUSE

You entered a value in the referencing column which has a different precision and scale than the precision and scale of the PRIMARY KEY referenced column.

ACTION

Check the precision and scale of the PRIMARY KEY and change the value entered in the referencing column to match it.

2300
MESSAGE

User ! does not have ! authorization. (DBERR 2300)

CAUSE

The DBEUserID under which the command was executed does not have the authority (DBA, RESOURCE, or CONNECT) to execute the command.

ACTION

Contact your database administrator to get the required authority or sign on as a user who does have the required authority.

2301
MESSAGE

User ! does not have ! authority on !.!. (DBERR 2301)

CAUSE

The DBEUserID does not have the required table or view authority to execute the command.

ACTION

Contact your database administrator to get the required authority or sign on as a user who does have the required authority.

2302
MESSAGE

User ! does not have ! authority on column !.!.!. (DBERR 2302)

CAUSE

You do not have the specified authority needed to access the column. UPDATE is needed in the UPDATE statement, or REFERENCES is needed in the CREATE TABLE statement.

ACTION

Contact your database administrator to get the required authority or sign on as a user who does have the required authority.

2303
MESSAGE

User ! does not have OWNER or DBA authority. (DBERR 2303)

CAUSE

The command requires either OWNER or DBA authority.

ACTION

Refer to the ALLBASE/SQL Database Administration Guide and the ALLBASE/SQL Reference Manual for statements requiring special authority. Contact your database administrator to get the required authority.

2304
MESSAGE

Cannot revoke DBA authority from session owner !. (DBERR 2304)

CAUSE

You tried to REVOKE DBA authority from yourself.

ACTION

Refer to the ALLBASE/SQL Database Administration Guide for additional information on when you can revoke DBA authority.

2305
MESSAGE

Use REVOKE ! to revoke GRANT !. (DBERR 2305)

CAUSE

The DBEUserID was granted the specified authority (UPDATE or REFERENCES) on all columns using the GRANT statement without specifying column names. You tried to revoke the authority on individual columns in the table.

ACTION

Revoke the authority on all columns using the REVOKE statement without specifying column names. If you want the user to have the authority on some columns of the table, issue the GRANT statement specifying the appropriate column names.

2306
MESSAGE

Special GRANT/REVOKE disallowed for reserved user !. (DBERR 2306)

CAUSE

The DBEUserID specified in the GRANT or REVOKE statement is a reserved user (PUBLIC, TEMP, SYSTEM, HPRDBSS). The GRANT or REVOKE statement is ignored.

ACTION

Refer to the ALLBASE/SQL Database Administration Guide explanation of reserved users and their purposes.

2307
MESSAGE

User ! does not have OWNER authority. (DBERR 2307)

CAUSE

The TRANSFER OWNERSHIP and DROP VIEW statements are not allowed on system views.

ACTION

No action is necessary. Refer to the ALLBASE/SQL Database Administration Guide for additional information on system views.

2308
MESSAGE

Reserved user ! cannot be added to a group. (DBERR 2308)

CAUSE

You attempted to add a RESERVED user (PUBLIC, SYSTEM, TEMP, or HPRDBSS) to a group using the ADD GROUP statement.

ACTION

No action is necessary. Refer to the ALLBASE/SQL Database Administration Guide for an explanation of reserved users and their purposes.

2309
MESSAGE

User ! neither has DBA authority nor is a member of group !. (DBERR 2309)

CAUSE

The AuthorizationName is different than the DBEUserID executing the CREATE SCHEMA statement. You do not have DBA authority, nor are you a member of a group whose name is the AuthorizationName specified in the CREATE SCHEMA statement.

ACTION

Ensure that you have proper authorization to execute the CREATE SCHEMA statement.

2310
MESSAGE

User ! does not have DBA authority. (DBERR 2310)

CAUSE

GRANT with BY clause done by someone without DBA authority.

ACTION

This command requires DBA authority to be performed.

2311
MESSAGE

Group ! not found. (DBERR 2311)

CAUSE

The group name specified in the DROP GROUP, ADD TO GROUP, or REMOVE FROM GROUP statement, does not exist in the DBEnvironment.

ACTION

Check your spelling. If you still receive this error, ask your database administrator to check the SYSTEM.GROUP view to determine if the group exists in the DBEnvironment.

2312
MESSAGE

User or group ! already exists. (DBERR 2312)

CAUSE

The user or group name specified in the CREATE GROUP statement already exists in the DBEnvironment.

ACTION

Issue the command again, specifying a unique user or group name.

2313
MESSAGE

User ! not found in group !. (DBERR 2313)

CAUSE

The DBEUserID specified in the REMOVE FROM GROUP statement does not exist in the specified group.

ACTION

Check your spelling. If you still receive this error, ask your database administrator to check the SYSTEM.GROUP view to make sure that the specified user does exist in the group.

2314
MESSAGE

User ! already a member of group !. (DBERR 2314)

CAUSE

The DBEUserID in the ADD command is already a member of the group.

ACTION

No action is necessary.

2315
MESSAGE

User or group ! conflicts with existing !. (DBERR 2315)

CAUSE

The group name specified in the CREATE GROUP statement is already being used as a DBEUserID or group name in the manner specified in the second parameter; or a CONNECT was attempted with a DBEUserID equivalent to an existing group name.

ACTION

Remove the existing usage before re-issuing the CREATE GROUP, or issue it with a different group name;

or

drop the group to permit the connection;

or

do not attempt to CONNECT with that DBEUserID.

2316
MESSAGE

User or group ! owns object(s) in the DBEnvironment. (DBERR 2316)

CAUSE

The DBEUserID or group specified in the DROP command is the owner name of either tables, views, modules, or groups in the DBEnvironment.

ACTION

Drop the objects or transfer ownership to another DBEUserID or group before dropping the user or group.

2317
MESSAGE

User or group ! is (indirect) member of group !. (DBERR 2317)

CAUSE

You tried to add a group (or user) to a group which is already a member of the group you tried to add.

ACTION

No action is necessary. If you specified more than one user or group in the ADD TO GROUP statement, the valid names were processed and the invalid names were ignored.

2318
MESSAGE

Cannot add group ! to itself. (DBERR 2318)

CAUSE

You tried to add a group (or user) to itself.

ACTION

Issue the command again, specifying a set of unique group or user names which does not include the target group name.

2319
MESSAGE

Cannot remove group ! from itself. (DBERR 2319)

CAUSE

You tried to remove a group from itself.

ACTION

Issue the command again, specifying a set of group names which does not include the target group name.

2321
MESSAGE

CONNECT disallowed. Group ! already exists. (DBERR 2321)

CAUSE

A group name that is the same as your DBEUserID name exists in the DBEnvironment.

ACTION

Sign on as a different user. Ask your database administrator to change the group name to something different from your DBEUserid name so that this problem will not occur in the future.

2322
MESSAGE

User ! already has ! authorization on !.! from a different grantor. (DBERR 2322)

CAUSE

Attempted to GRANT the specified authority to a user who has the authority from another grantor already, and you would not be able to revoke that authority.

ACTION

Repeat the GRANT without that user and/or authorization.

2323
MESSAGE

User ! already has ! authorization on !.!.! from a different grantor. (DBERR 2323)

CAUSE

Attempted to GRANT the specified authority to a user who has the authority from another grantor already, and you would not be able to revoke that authority.

ACTION

Repeat the GRANT without that user and/or authorization.

2324
MESSAGE

Cannot revoke ! authorization from ! on !.! without CASCADE. (DBERR 2324)

CAUSE

Attempted to REVOKE the specified authority from a user who has used the grantability of that authority to grant to another user.

ACTION

Use REVOKE CASCADE if you wish to remove all the grants that user has cascaded on the authority, or get a DBA to perform the revoke on that user (this will leave all of that user's grants intact). The DBA should use the BY option of the REVOKE statement to avoid an orphaned privilege.

2325
MESSAGE

Cannot revoke ! authorization from user ! on !.!.! without CASCADE. (DBERR 2325)

CAUSE

Attempted to REVOKE the specified authority from a user who has used the grantability of that authority to grant to another user.

ACTION

Use REVOKE CASCADE if you wish to remove all the grants that user has cascaded on the authority, or get a DBA to perform the revoke on that user (this will leave all of that user's grants intact).

2326
MESSAGE

GRANT of ! authority to ! on !.! causes a cycle. (DBERR 2326)

CAUSE

Attempted to GRANT the specified authority which would cause a cycle of grants in the authority list.

ACTION

Examine the chain of grants to determine if the cycle can be broken, or have someone else perform the grant (if their doing so would not cause a cycle).

2327
MESSAGE

GRANT of ! authority to ! on !.!.! causes a cycle. (DBERR 2327)

CAUSE

Attempted to GRANT the specified authority which would cause a cycle of grants in the authority list.

ACTION

Examine the chain of grants to determine if the cycle can be broken, or have someone else perform the grant (if their doing so would not cause a cycle).

2328
MESSAGE

User ! does not have direct OWNER, DBA, or GRANTABLE ! authority on !.!. (DBERR 2328)

CAUSE

Attempted to GRANT the specified authority WITH GRANT OPTION, but did not have the direct authority needed to do so.

ACTION

To grant WITH GRANT OPTION, the user must be authorized to grant directly, not through group membership. Have the system administrator or table owner grant you the authority with the grant option directly, or perform the grant you wish done.

2329
MESSAGE

User ! does not have direct OWNER, DBA, or GRANTABLE ! authority on !.!.!. (DBERR 2329)

CAUSE

Attempted to GRANT the specified authority WITH GRANT OPTION, but did not have the direct authority needed to do so.

ACTION

To grant WITH GRANT OPTION, the user must be authorized to grant directly, not through group membership. Have the system administrator or table owner grant you the authority with the grant option directly, or perform the grant you wish done.

2330
MESSAGE

Group ! not allowed to grant privileges. (DBERR 2330)

CAUSE

Between the time the GRANT was compiled and executed, the user performing the GRANT became a group. GRANTs cannot be performed by groups, due to the need to store the user name of the grantor.

ACTION

Drop the group or re-perform the GRANT with a valid user name.

2331
MESSAGE

Group ! cannot be granted privileges WITH GRANT OPTION. (DBERR 2331)

CAUSE

You attempted to grant WITH GRANT OPTION to a group.

ACTION

Repeat the grant without the specified group, or without WITH GRANT OPTION.

2332
MESSAGE

User not authorized to revoke ! on !.! from user/group !. (DBERR 2332)

CAUSE

You are not the OWNER, DBA, or grantor of the specified privilege on the specified table to the specified user/group.

ACTION

Have the system administrator determine the grantor of the privilege and have that person perform the revoke, or have the table owner or a DBA perform the revoke.

2333
MESSAGE

User not authorized to revoke ! on !.!.! from user !. (DBERR 2333)

CAUSE

You are not the OWNER, DBA, or grantor of the specified privilege on the specified column to the specified user/group.

ACTION

Have the system administrator determine the grantor of the privilege and have that person perform the revoke, or have the table owner or a DBA perform the revoke.

2334
MESSAGE

GRANT/REVOKE of ALTER/INDEX/REFERENCES authority not allowed on a view (!.!). (DBERR 2334)

CAUSE

You attempted to GRANT or REVOKE one of the privileges ALTER, INDEX, or REFERENCES on the specified view.

ACTION

Repeat the command without any of the privileges listed above.

2335
MESSAGE

User ! already has ! authorization on !.! with a different grantability. (DBERR 2335)

CAUSE

You attempted to re-grant an authority with a different grantability (WITH GRANT OPTION was specified on only one of the grants).

ACTION

Re-issue the grant without the specified authorization, or revoke the specified authorization and then reissue the grant.

2336
MESSAGE

User ! already has ! authorization on !.!.! with a different grantability. (DBERR 2336)

CAUSE

You attempted to re-grant an authority with a different grantability (WITH GRANT OPTION was specified on only one of the grants).

ACTION

Re-issue the grant without the specified authorization, or revoke the specified authorization and then reissue the grant.

2337
MESSAGE

User ! already has ! authorization on columns of !.! with a different grantability. (DBERR 2337)

CAUSE

You attempted to grant a table level authority with a different grantability from an existing column level authority which this would override (WITH GRANT OPTION was specified on only one of the grants).

ACTION

Re-issue the grant without the specified authorization, or revoke the specified authorization and then reissue the grant.

2338
MESSAGE

User ! does not have OWNER, DBA, or direct GRANTABLE ! authority on !.!. (DBERR 2338)

CAUSE

You attempted to perform a GRANT WITH GRANT OPTION or REVOKE of the specified authority without having the authority to do so.

ACTION

You need to have OWNER, DBA, or have been granted the authority WITH GRANT OPTION in order to perform a GRANT WITH GRANT OPTION or REVOKE of the authority.

2339
MESSAGE

User ! does not have OWNER, DBA, or direct GRANTABLE ! authority on !.!.!. (DBERR 2339)

CAUSE

You attempted to perform a GRANT WITH GRANT OPTION or REVOKE of the specified authority without having the authority to do so.

ACTION

You need to have OWNER, DBA, or have been granted the authority WITH GRANT OPTION in order to perform a GRANT WITH GRANT OPTION or REVOKE of the authority.

2340
MESSAGE

User ! already has ! authorization on columns of !.! from a different grantor. (DBERR 2340)

CAUSE

You attempted to GRANT the specified authority on the table level, and were unable to override column level authorities on that table from another grantor.

ACTION

Only the DBA, OWNER, or direct grantor can override column level authorities with table level authority. Have such a user perform your grant, or reissue your grant without the specified user and/or authority.

2341
MESSAGE

TRANSFER OWNERSHIP of !.! to ! causes a cycle of ! authority. (DBERR 2341)

CAUSE

Attempted to transfer a table upon which the specified authority existed, and that transfer would cause a cycle of grants in the authority list for that authority on that table.

ACTION

Examine the chain of grants to determine if the cycle can be broken, or transfer the table to a different user (if doing so would not cause a cycle).

2342
MESSAGE

TRANSFER OWNERSHIP of !.! to ! causes a cycle of ! authority on column !. (DBERR 2342)

CAUSE

Attempted to transfer a table upon which the specified authority existed, and that transfer would cause a cycle of grants in the authority list for that authority on that table.

ACTION

Examine the chain of grants to determine if the cycle can be broken, or transfer the table to a different user (if doing so would not cause a cycle).

2343
MESSAGE

User ! does not have authority to install modules for owner !. (DBERR 2343)

CAUSE

The user specified does not have the required authority.

ACTION

Use the GRANT INSTALL AS OwnerID TO DBEUserID statement to give the proper authority to the user.

2346
MESSAGE

User ! does not explicit INSTALL AS ! authority. (DBERR 2346)

CAUSE

The user specified does not have INSTALL authority for this owner.

ACTION

Use the GRANT INSTALL statement to grant INSTALL AS authority to the user.

2347
MESSAGE

User ! does not have INSTALL ! authority. (DBERR 2347)

CAUSE

The user specified does not have any INSTALL authority.

ACTION

Use the GRANT INSTALL AS OwnerID TO DBEUserID statement to grant INSTALL authority to the user.

2350
MESSAGE

!

CAUSE

A RAISE ERROR statement was specified without an error number or with an error number of 2350.

ACTION

See the Section "User Defined Error Messages" in the "Introduction" for discussion of RAISE ERROR generated errors. Examine the error text to determine the action to take.

2352
MESSAGE

RULE !.! WHERE condition invalid. (DBERR 2352)

CAUSE

The named RULE definition's WHERE condition will not be executable and so is not valid.

ACTION

Identify the problem with the RULE definition by examining the error or errors accompanying this one. Correct the problem of those errors in order to make the RULE's WHERE condition executable.

2353
MESSAGE

RULE !.! EXECUTE PROCEDURE invalid. (DBERR 2353)

CAUSE

The named rule definition's EXECUTE PROCEDURE clause will not be executable and so is not valid.

ACTION

Identify the problem with the rule definition by examining the error or errors accompanying this one. Correct the problem identified in those errors in order to make the rule's EXECUTE PROCEDURE clause executable.

2354
MESSAGE

Rule !.! not found. (DBERR 2354)

CAUSE

The named rule was not found.

ACTION

Re-issue your DROP RULE statement after verifying that the proper rule was named.

2355
MESSAGE

Rule ! not found on table !.!. (DBERR 2355)

CAUSE

The named rule was not found on the named table.

ACTION

Re-issue your DROP RULE statement after verifying that the proper table and rule were named, or issue the statement without the table name.

2356
MESSAGE

Rule !.! already exists. (DBERR 2356)

CAUSE

The name of the rule given in the CREATE RULE statement is the name of an existing rule.

or

a TRANSFER OWNERSHIP on a table has resulted in a duplicate rule name.

ACTION

Issue the CREATE RULE statement with a rule name unique for the table owner.

2357
MESSAGE

Name ! used for both OLD and NEW in rule !.!. (DBERR 2357)

CAUSE

You specified the same correlation name for both the OLD and NEW correlation names.

ACTION

Reissue the statement using the default correlation names or with distinct OLD and NEW correlation names.

2358
MESSAGE

Duplicate column ! in update column list of rule !.!. (DBERR 2358)

CAUSE

You specified the named column more than once in the UPDATE statement type column list of your CREATE RULE statement.

ACTION

Re-issue your CREATE RULE statement after checking that no column name is specified more than once in the UPDATE statement type column list.

2360
MESSAGE

Error number cannot be NULL for RAISE ERROR. (DBERR 2360)

CAUSE

The error number given to the RAISE ERROR statement had the NULL value.

ACTION

Check the value given to the RAISE ERROR statement and ensure that it is not null.

2361
MESSAGE

Error number must be positive for RAISE ERROR. (DBERR 2361)

CAUSE

The error number given to the RAISE ERROR statement was negative or zero.

ACTION

Check the value given to the RAISE ERROR statement and ensure that it is greater than zero.

2362
MESSAGE

Error number for RAISE ERROR must have data type INTEGER or SMALLINT. (DBERR 2362)

CAUSE

The error number for RAISE ERROR was an invalid data type.

ACTION

Ensure that the data type of the error number is INTEGER or SMALLINT.

2363
MESSAGE

Error text cannot be NULL for RAISE ERROR. (DBERR 2363)

CAUSE

The error text given to the RAISE ERROR statement had the NULL value.

ACTION

Check the value given to the RAISE ERROR statement and ensure that it is not null.

2364
MESSAGE

Error text for RAISE ERROR must have data type CHAR or VARCHAR. (DBERR 2364)

CAUSE

The error text for RAISE ERROR was an invalid data type.

ACTION

Ensure that the data type of the error text is CHAR or VARCHAR.

2365
MESSAGE

Deadlock detected causing rollback query. (DBERR 2365)

CAUSE

Deadlock occurred.

ACTION

Determine the cause of the deadlock and take appropriate actions to correct the problem. See "Resolving Conflicts among Concurrent Transactions" in the chapter "Currency Control through Locks and Isolation Levels" in the ALLBASE/SQL Reference Manual.

2366
MESSAGE

Timeout expired (! seconds) causing rollback query. (DBERR 2366)

CAUSE

The timeout expired.

ACTION

No action is required.

2367
MESSAGE

RENAME COLUMN is not allowed on a check constraint column. (DBERR 2367)

CAUSE

A RENAME COLUMN statement was issued for a check constraint column.

ACTION

Check constraints on a renamed column will be disallowed. Determine if an incorrect column was renamed or take other appropriate action.

2370
MESSAGE

Rule firing invalidated current section (!.!(!)). (DBERR 2370)

CAUSE

Upon completion of a rule, the current section was found to be invalidated by actions taken by the rule.

ACTION

Check the rules fired by the current statement and determine if the procedures they invoke invalidate sections; or take no action.

2371
MESSAGE

Rule firing invalidated user's statement. (DBERR 2371)

CAUSE

Upon completion of the rules fired by the user's statement, the statement was found to be invalidated by actions taken by the rules.

ACTION

Check the rules fired by the current statement and determine if the procedures they invoke invalidate sections; or take no action.

2372
MESSAGE

Maximum rule firing depth (!) exceeded. (DBERR 2372)

CAUSE

Rules chained to a depth greater than the allowed maximum.

ACTION

Determine the cause of exceeding the maximum rule depth; or take no action.

2373
MESSAGE

Procedure executed by rule executed ! statement. (DBERR 2373)

CAUSE

A procedure invoked by a rule executed a COMMIT, ROLLBACK, or SAVEPOINT statement.

ACTION

Alter the procedure to not invoke such statements when fired by a rule, or invoke a different procedure from the rule.

2390
MESSAGE

User ! does not have the authority to create HPODBSS table/view. (DBERR 2390)

CAUSE

You attempted to create a table or view with an owner name of HPODBSS.

ACTION

Replace HPODBSS with a non-reserved name and reissue the statement.

2400
MESSAGE

Maximum number of columns (!) exceeded on table/view !.!. (DBERR 2400)

CAUSE

The number of columns you specified in the ALTER TABLE, CREATE TABLE, or CREATE VIEW statement was greater than the maximum number of columns allowable.

ACTION

Issue the command again ensuring that the total number of columns does not exceed 1023.

2402
MESSAGE

Maximum number of tables per module exceeded. (DBERR 2402)

CAUSE

The maximum number of tables for a SELECT statement has been exceeded.

ACTION

Issue the command again, specifying no more than 31 tables.

2404
MESSAGE

Maximum number of concurrent transactions exceeded. (DBERR 2404)

CAUSE

The maximum number of concurrent transactions has been exceeded.

ACTION

Retry the begin transaction statement again. If it fails, ask your database administrator for assistance.

2405
MESSAGE

Index ! on table !.! has more than ! columns. (DBERR 2405)

CAUSE

The index you specified contains more than 16 columns.

ACTION

Check the CREATE INDEX statement to make sure that the number of columns specified is less than or equal to 16.

2406
MESSAGE

SelectList contains more than ! columns. (DBERR 2406)

CAUSE

The number of items in the select list exceeded the maximum number allowable.

ACTION

Check your SELECT statement to make sure that the number of items in the select list is equal to or less than 1024.

2407
MESSAGE

Length of column ! in table !.! exceeds ! bytes. (DBERR 2407)

CAUSE

The number of bytes in the specified column exceeded the maximum number allowable.

ACTION

Issue the CREATE TABLE statement again with the maximum number of bytes or less.

2408
MESSAGE

Tuple length of table !.! exceeds ! bytes. (DBERR 2408)

CAUSE

You attempted to create a table with a minimum tuple length greater than the maximum allowed.

ACTION

Reduce the minimum tuple length of the table and reissue the statement.

2409
MESSAGE

Length of index ! on table !.! exceeds ! bytes. (DBERR 2409)

CAUSE

The index you attempted to create exceeds the maximum key length.

ACTION

Recreate your index using a column or combination of columns that is less than the maximum number of bytes.

2410
MESSAGE

Tuple exceeded maximum length. (DBERR 2410)

CAUSE

The maximum tuple length of 4,000 bytes has been exceeded.

ACTION

Check your input source (e.g. load file) and the original CREATE TABLE statement to make sure that each tuple is less than or equal to 4,000 bytes long.

2411
MESSAGE

Number of sort columns (!) exceeds maximum !. (DBERR 2411)

CAUSE

The ORDER BY, GROUP BY, or DISTINCT clause of the SELECT statement specifies a number of columns which exceeded the maximum allowable.

ACTION

Issue the command again, specifying no more than the maximum number of sort columns. Refer to the ALLBASE/SQL Reference Manual for additional information on the SELECT statement.

2412
MESSAGE

Index exceeded maximum length. (DBERR 2412)

CAUSE

The maximum index length of 1024 bytes has been exceeded

or

the ORDER BY or GROUP BY clause uses a column greater than 1024 bytes.

ACTION

Check your input source (e.g. load file) and the original CREATE INDEX command to make sure that each index entry is less than or equal to 1024 bytes long

or

reduce the size of the column used by the ORDER BY or GROUP BY to less than 1010 bytes.

2413
MESSAGE

Number of boolean factors in predicate expression exceeds maximum (!). (DBERR 2413)

CAUSE

The number of factors in the WHERE clause exceeds the maximum allowed.

ACTION

Try to reduce the number of factors.

2414
MESSAGE

Length of column ! in table !.! below minimum ! bytes. (DBERR 2414)

CAUSE

You tried to create a LONG or CHAR column of length 0.

ACTION

Create the column with at least the minimum length.

2415
MESSAGE

Number of operators in internal predicate exceed maximum (!). (DBERR 2415)

CAUSE

A predicate containing one or more OR operators was too complicated. When additional factors were added to the predicate internally for optimization, the total number of operators exceeded the maximum.

ACTION

Try to rewrite the query, simplifying the predicate as much as possible, and lowering the precedence of OR operators as much as possible.

2416
MESSAGE

Hash on table !.! has more than ! columns. (DBERR 2416)

CAUSE

You specified a hash containing more than 16 columns.

ACTION

Issue the CREATE TABLE statement again, specifying no more than 16 columns for the hash key.

2417
MESSAGE

Length of hash key on table !.! exceeds ! bytes. (DBERR 2417)

CAUSE

You specified a hash key which exceeds the maximum key length.

ACTION

Issue the CREATE TABLE statement again, specifying a hash key with length no greater than the maximum.

2418
MESSAGE

Length of parameter ! in procedure !.! exceeds ! bytes. (DBERR 2418)

CAUSE

The number of bytes in the specified parameter exceeded the maximum allowed.

ACTION

Issue the CREATE PROCEDURE statement again, specifying a parameter length no greater than the maximum specified.

2419
MESSAGE

Length of parameter ! in procedure !.! below minimum ! bytes. (DBERR 2419)

CAUSE

The number of bytes in the specified parameter was less than the minimum allowed.

ACTION

Issue the CREATE PROCEDURE statement again, specifying a parameter length no less than the minimum allowed.

Feedback to webmaster