DB2-SQLCODE 錯誤碼大全---[IBM官方]
阿新 • • 發佈:2019-01-29
SQL error codes
### | SQLCODE | Description |
---|---|---|
### | -007 | statement contains the illegal character invalid-character |
### | -010 | the string constant beginning string is not terminated |
### | -011 | comment not closed |
### | -029 | into clause required |
### | -051 | identifier-name (sql-type) was previously declared or referenced |
### | -056 | an sqlstate or sqlcode variable declaration is in a nested compound statement |
### | -057 | the return statement in an sql function must return a value. |
### | -058 | value specified on return statement must be an integer |
### | -060 | invalid specification-type specification : specification-value |
### | -078 | parameter names must be specified for routine routine-name |
### | -079 | qualifier for object name was specified as qualifier1 but qualifier2 is required |
### | -084 | unacceptable sql statement |
### | -087 | a null value was specified in a context where a null is not allowed |
### | -096 | variable variable-name does not exist or is not supported by the server and a default value was not provided |
### | -097 | the use of long varchar or long vargraphic is not allowed in this context |
### | -101 | the statement is too long or too complex |
### | -102 | string constant is too long. string begins string |
### | -103 | constant is an invalid numeric constant |
### | -104 | illegal symbol “token”. some symbols that might be legal are: token-list |
### | -105 | invalid string |
### | -107 | the name name-value is too long. maximum allowable size is maximum-size |
### | -108 | the name name is qualified incorrectly |
### | -109 | clause-type clause is not permitted |
### | -110 | invalid hexadecimal constant beginning constant |
### | -111 | an aggregate function does not include a column name |
### | -112 | the operand of an aggregate function includes an aggregate function, an olap specification, or a scalar fullselect |
### | -113 | invalid character found in: string, reason code nnn |
### | -114 | the location name location does not match the current server |
### | -115 | a predicate is invalid because the comparison operator operator is followed by a parenthesized list or by any or all without a subquery |
### | -117 | the number of values assigned is not the same as the number of specified or implied columns |
### | -118 | the object table or view of the delete or update statement is also identified in a from clause |
### | -119 | a column or expression in a having clause is not valid |
### | -120 | an aggregate function or olap specification is not valid in the context in which it was invoked |
### | -121 | the column name is identified more than once in the insert or update operation or set transition variable statement |
### | -122 | column or expression in the select list is not valid |
### | -123 | the parameter in position n in the function name must be a constant or keyword |
### | -125 | an integer in the order by clause does not identify a column of the result |
### | -126 | the select statement contains both an update clause and an order by clause |
### | -127 | distinct is specified more than once in a subselect |
### | -128 | invalid use of null in a predicate |
### | -129 | the statement contains too many table names |
### | -130 | the escape clause consists of more than one character, or the string pattern contains an invalid occurrence of the escape character |
### | -131 | statement with like predicate has incompatible data types |
### | -132 | an operand of value is not valid |
### | -133 | an aggregate function in a subquery of a having clause is invalid because all column references in its argument are not correlated to the group by result that the having clause is applied to |
### | -134 | improper use of a string, lob, or xml value |
### | -136 | sort cannot be executed because the sort key length too long |
### | -137 | the length resulting from operation is greater than maximum-length |
### | -138 | the second or third argument of the substr or substring function is out of range |
### | -142 | the sql statement is not supported |
### | -144 | invalid section number number |
### | -147 | alter function function-name failed because source functions or spatial functions cannot be altered |
### | -148 | the source table or tablespace source-name cannot be altered, reason reason-code |
### | -150 | the object of the insert, delete, update, merge, or truncate statement is a view, system-maintained materialized query table, or transition table for which the requested operation is not permitted |
### | -151 | the update operation is invalid because the catalog description of column column-name indicates that it cannot be updated |
### | -152 | the drop clause clause in the alter statement is invalid because constraint-name is a constraint-type |
### | -153 | the statement is invalid because the view or table definition does not include a unique name for each column |
### | -154 | the statement failed because view or table definition is not valid |
### | -156 | the statement does not identify a table |
### | -157 | only a table name can be specified in a foreign key clause. object-name is not the name of a table. |
### | -158 | the number of columns specified for name is not the same as the number of columns in the result table. |
### | -159 | the statement references object-name which identifies an actual-type rather than an expected-type |
### | -160 | the with check option clause is not valid for the specified view |
### | -161 | the insert or update is not allowed because a resulting row does not satisfy the view definition |
### | -164 | authorization-id does not have the privilege to create a view with qualification qualifier-name |
### | -170 | the number of arguments specified for function-name is invalid |
### | -171 | the data type, length, or value of argument argument-position of function-name is invalid |
### | -173 | ur is specified on the with clause but the cursor is not read-only |
### | -180 | the date, time, or timestamp value value is invalid |
### | -181 | the string representation of a datetime value is not a valid datetime value |
### | -182 | an arithmetic expression with a datetime value is invalid |
### | -183 | an arithmetic operation on a date or timestamp has a result that is not within the valid range of dates |
### | -184 | an arithmetic expression with a datetime value contains a parameter marker |
### | -185 | the local format option has been used with a date or time and no local exit has been installed |
### | -186 | the local date length or local time length has been increased and executing program relies on the old length |
### | -187 | a reference to a current datetime special register is invalid because the mvs tod clock is bad or the mvs parmtz is out of range |
### | -188 | the string representation of a name is invalid |
### | -189 | ccsid ccsid is invalid |
### | -190 | the attributes specified for the column table-name.column-name are not compatible with the existing column definition |
### | -191 | a string cannot be used because it is invalid mixed data |
### | -197 | a qualified column name is not allowed in the order by clause when a set operator is also specified |
### | -198 | the operand of the prepare or execute immediate statement is blank or empty |
### | -199 | illegal use of keyword keyword. token token-list was expected |
### | -203 | a reference to column column-name is ambiguous |
### | -204 | name is an undefined name |
### | -205 | column-name is not a column of table table-name |
### | -206 | object-name is not valid in the context where it is used |
### | -208 | the order by clause is invalid because column column-name is not part of the result table |
### | -212 | name is specified more than once in the referencing clause of a trigger definition |
### | -214 | an expression in the following position, or starting with position-or-expression-start in the clause-type clause is not valid. reason code = reason-code |
### | -216 | the number of elements on each side of a predicate operator does not match. predicate operator is operator. |
### | -219 | the required explanation table table-name does not exist |
### | -220 | the column column-name in explanation table table-name is not defined properly |
### | -221 | “set of optional columns” in explanation table table-name is incomplete. optional column column-name is missing |
### | -222 | an update or delete operation was attempted against a hole using cursor cursor-name |
### | -224 | the result table does not agree with the base table using cursor-name |
### | -225 | fetch statement for cursor-name is not valid for the declaration of the cursor |
### | -227 | fetch fetch-orientation is not allowed, because cursor cursor-name has an unknown position (sqlcode,sqlstate) |
### | -228 | for update clause specified for read-only cursor cursor-name |
### | -229 | the locale locale specified in a set lc_ctype or other statement that is locale sensitive was not found |
### | -240 | the partition clause of a lock table statement is invalid |
### | -242 | the object named object-name of type object-type was specified more than once in the list of objects, or the name is the same as an existing object |
### | -243 | sensitive cursor cursor-name cannot be defined for the specified select statement |
### | -244 | sensitivity sensitivity specified on the fetch is not valid for cursor cursor-name |
### | -245 | the invocation of function routine-name is ambiguous |
### | -246 | statement using cursor cursor-name specified number of rows num-rows which is not valid with dimension |
### | -247 | a hole was detected on a multiple row fetch statement using cursor cursor-name, but indicator variables were not provided to detect the condition |
### | -248 | a positioned delete or update statement for cursor cursor-name specified row n of a rowset, but the row is not contained within the current rowset |
### | -249 | definition of rowset access for cursor cursor-name is inconsistent with the fetch orientation clause clause specified |
### | -250 | the local location name is not defined when processing a three-part object name |
### | -251 | token name is not valid |
### | -253 | a non-atomic statement statement successfully completed for some of the requested rows, possibly with warnings, and one or more errors |
### | -254 | a non-atomic statement statement attempted to process multiple rows of data, but errors occurred |
### | -270 | function not supported |
### | -300 | the string contained in host variable or parameter position-number is not nul-terminated |
### | -301 | the value of input host variable or parameter number position-number cannot be used as specified because of its data type |
### | -302 | the value of input variable or parameter number position-number is invalid or too large for the target column or the target value |
### | -303 | a value cannot be assigned to output host variable number position-number because the data types are not comparable |
### | -304 | a value with data type data-type1 cannot be assigned to a host variable because the value is not within the range of the host variable in position position-number with data type data-type2 |
### | -305 | the null value cannot be assigned to output host variable number position-number because no indicator variable is specified |
### | -309 | a predicate is invalid because a referenced host variable has the null value |
### | -310 | decimal host variable or parameter number contains non-decimal data |
### | -311 | the length of input host variable number position-number is negative or greater than the maximum |
### | -312 | variable variable-name is not defined or not usable |
### | -313 | the number of host variables specified is not equal to the number of parameter markers |
### | -314 | the statement contains an ambiguous host variable reference |
### | -327 | the row cannot be inserted because it is outside the bound of the partition range for the last partition |
### | -330 | a string cannot be used because it cannot be processed. reason reason-code, character code-point, host variable position-number |
### | -331 | character conversion cannot be performed because a string, position position-number, cannot be converted from source-ccsid to target-ccsid, reason reason-code |
### | -332 | character conversion between ccsid from-ccsid to to-ccsid requested by reason-code is not supported |
### | -333 | the subtype of a string variable is not the same as the subtype known at bind time and the difference cannot be resolved by character conversion |
### | -336 | the scale of the decimal number must be zero |
### | -338 | an on clause is invalid |
### | -340 | the common table expression name has the same identifier as another occurrence of a common table expression definition within the same statement |
### | -341 | a cyclic reference exists between the common table expressions name1 and name2 |
### | -342 | the common table expression name must not use select distinct and must use union all because it is recursive |
### | -343 | the column names are required for the recursive common table expression name |
### | -344 | the recursive common table expression name has mismatched data types or lengths or code page for column column-name |
### | -345 | the fullselect of the recursive common table expression name must be a union all and must not include aggregate functions, group by clause, having clause, or an explicit join including an on clause |
### | -346 | an invalid reference to common table expression name occurs in the first fullselect, as a second occurrence in the same from clause, or in the from clause of a subquery |
### | -348 | sequence-expression cannot be specified in this context |
### | -350 | column-name was implicitly or explicitly referenced in a context in which it cannot be used |
### | -351 | an unsupported sqltype was encountered in position position-number of the select-list |
### | -352 | an unsupported sqltype was encountered in position position-number of the input-list |
### | -353 | fetch is not allowed, because cursor cursor-name has an unknown position |
### | -354 | a rowset fetch statement may have returned one or more rows of data. however, one or more non-terminating error conditions were encountered. use the get diagnostics statement for more information regarding the conditions that were encountered |
### | -355 | a lob column is too large to be logged |
### | -356 | key expression expression-number is not valid, reason code = reason-code |
### | -359 | the range of values for the identity column or sequence is exhausted |
### | -363 | the extended indicator variable value for parameter position-number is out of range. |
### | -365 | use of the value of extended indicator variable in position value-position is not valid. |
### | -372 | only one rowid, identity, row change timestamp, row begin, row end, transaction start id, or security label column is allowed in a table |
### | -373 | default cannot be specified for column or sql variable name |
### | -374 | the clause clause has not been specified in the create or alter function statement for language sql function function-name but an examination of the function body reveals that it should be specified |
### | -390 | the function function-name, specific name specific-name, is not valid in the context where it is used |
### | -392 | sqlda provided for cursor cursor-name has been changed from the previous fetch (reason-code) |
### | -393 | the condition or connection number is invalid |
### | -396 | object-type object-name attempted to execute an sql statement during final call processing |
### | -397 | generated is specified as part of a column definition, but it is not valid for the definition of the column |
### | -398 | a locator was requested for host variable number position-number but the variable is not a lob |
### | -399 | invalid value rowid was specified |
### | -400 | the catalog has the maximum number of user defined indexes |
### | -401 | the data types of the operands of an operation are not compatible |
### | -402 | an arithmetic function or operator function-operator is applied to character or datetime data |
### | -404 | the sql statement specifies a string that is too long |
### | -405 | the numeric constant constant cannot be used as specified because it is out of range |
### | -406 | a calculated or derived numeric value is not within the range of its object column |
### | -407 | an update, insert, or set value is null, but the object column column-name cannot contain null values |
### | -408 | the value is not compatible with the data type of its target. target name is name |
### | -409 | invalid operand of a count function |
### | -410 | a numeric value value is too long, or it has a value that is not within the range of its data type |
### | -412 | the select clause of a subquery specifies multiple columns |
### | -413 | overflow or underflow occurred during numeric data type conversion |
### | -414 | a like predicate is invalid because the first operand is not a string |
### | -415 | the corresponding columns, column-number, of the operands of a set operator are not compatible |
### | -416 | an operand of a set operator contains a long string column |
### | -417 | a statement string to be prepared includes parameter markers as the operands of the same operator |
### | -418 | a statement string to be prepared contains an invalid use of parameter markers |
### | -419 | the decimal divide operation is invalid because the result would have a negative scale |
### | -420 | the value of a string argument was not acceptable to the function-name function |
### | -421 | the operands of a set operator do not have the same number of columns |
### | -423 | invalid value for locator in position position-# |
### | -426 | dynamic commit not valid at an application server where updates are not allowed |
### | -427 | dynamic rollback not valid at an application server where updates are not allowed |
### | -430 | routine-type routine-name (specific name specific-name) has abnormally terminated |
### | -431 | routine routine-name (specific name specific-name) of type routine-type has been interrupted by the user |
### | -433 | value value is too long |
### | -435 | an invalid sqlstate sqlstate is specified in a raise_error function, resignal statement, or signal statement |
### | -438 | application raised error with diagnostic text: text |
### | -440 | no authorized routine-type by the name routine-name having compatible arguments was found |
### | -441 | invalid use of ‘distinct’ or ‘all’ with function function-name |
### | -443 | routine routine-name (specific name specific-name) has returned an error sqlstate with diagnostic text msg-text |
### | -444 | user program name could not be found |
### | -449 | create or alter statement for function or procedure routine-name contains an invalid format of the external name clause or is missing the external name clause |
### | -450 | user-defined function or stored procedure name, parameter number parmnum, overlayed storage beyond its declared length. |
### | -451 | the data-item definition in the create or alter statement for routine-name contains data type type which is not supported for the type and language of the routine |
### | -452 | unable to access the file referenced by host variable variable-position. reason code: reason-code |
### | -453 | there is a problem with the returns clause in the create function statement for function-name |
### | -454 | the signature provided in the create function statement for function-name matches the signature of some other function already existing in the schema |
### | -455 | in create function for function-name, the schema name schema-name1 provided for the specific name does not match the schema name schema-name2 of the function |
### | -456 | in create function for function-name, the specific name specific-name already exists in the schema |
### | -457 | a function or distinct type cannot be called name since it is reserved for system use |
### | -458 | in a reference to function function-name by signature, a matching function could not be found |
### | -461 | a value with data type source-data-type cannot be cast to type target-data-type |
### | -469 | sql call statement must specify an output host variable for parameter number |
### | -470 | sql call statement specified a null value for input parameter number, but the stored procedure does not support null values. |
### | -471 | invocation of function or procedure name failed due to reason rc |
### | -472 | cursor cursor-name was left open by external function function-name (specific name specific-name) |
### | -473 | a user defined data type cannot be called the same name as a system predefined type (built-in type) |
### | -475 | the result type type-1 of the source function cannot be cast to the returns type type-2 of the user-defined function function-name |
### | -476 | reference to function function-name was named without a signature, but the function is not unique within its schema |
### | -478 | drop or revoke on object type object-type cannot be processed because object dependent-object of type dependent-type is dependent on it |
### | -480 | the procedure procedure-name has not yet been called |
### | -482 | the procedure procedure-name returned no locators |
### | -483 | in create function for function-name statement, the number of parameters does not match the number of parameters of the source function |
### | -487 | object-type object-name attempted to execute an sql statement when the definition of the function or procedure did not specify this action |
### | -490 | number number directly specified in an sql statement is outside the range of allowable values in this context (minval, maxval) |
### | -491 | create statement for user-defined function function-name must have a returns clause and: the external clause with other required keywords; the parameter names; or the source clause |
### | -492 | the create function for function-name has a problem with parameter number number. it may involve a mismatch with a source function |
### | -495 | estimated processor cost of estimate-amount1 processor seconds (estimate-amount2 service units) in cost category cost-category exceeds a resource limit error threshold of limit- amount service units |
### | -496 | the sql statement cannot be executed because it references a result set that was not created by the current server |
### | -497 | the maximum limit of internal identifiers has been exceeded for database database-name |
### | -499 | cursor cursor-name has already been assigned to this or another result set from procedure procedure-name. |
### | -500 | the identified cursor was closed when the connection was destroyed |
### | -501 | the cursor identified in a fetch or close statement is not open |
### | -502 | the cursor identified in an open statement is already open |
### | -503 | a column cannot be updated because it is not identified in the update clause of the select statement of the cursor |
### | -504 | cursor name cursor-name is not declared |
### | -507 | the cursor identified in the update or delete statement is not open |
### | -508 | the cursor identified in the update or delete statement is not positioned on a row or rowset that can be updated or deleted |
### | -509 | the table identified in the update or delete statement is not the same table designated by the cursor |
### | -510 | the table designated by the cursor of the update or delete statement cannot be modified |
### | -511 | the for update clause cannot be specified because the result table designated by the select statement cannot be modified |
### | -512 | statement reference to remote object is invalid |
### | -513 | the alias alias-name must not be defined on another local or remote alias |
### | -514 | the cursor cursor-name is not in a prepared state |
### | -516 | the describe statement does not specify a prepared statement |
### | -517 | cursor cursor-name cannot be used because its statement name does not identify a prepared select statement |
### | -518 | the execute statement does not identify a valid prepared statement |
### | -519 | the prepare statement identifies the select statement of the opened cursor cursor-name |
### | -525 | the sql statement cannot be executed because it was in error at bind time for section = sectno package = pkgname consistency token = contoken |
### | -526 | the requested operation or usage does not apply to table-type temporary table table-name |
### | -530 | the insert or update value of foreign key constraint-name is invalid |
### | -531 | parent key in a parent row cannot be updated because it has one or more dependent rows in relationship constraint-name |
### | -532 | the relationship constraint-name restricts the deletion of row with rid x rid-number |
### | -533 | invalid multiple-row insert |
### | -534 | the primary key cannot be updated because of multiple-row update |
### | -536 | the delete statement is invalid because table table-name can be affected by the operation |
### | -537 | the primary key, foreign key, unique, or partitioning key clause identifies column column-name more than once |
### | -538 | foreign key name does not conform to the description of a parent key of table table-name |
### | -539 | table table-name does not have a primary key |
### | -540 | the definition of table table-name is incomplete because it lacks a primary index or a required unique index |
### | -542 | column-name cannot be a column of a hash key, primary key, a unique constraint, or a parent key because it can contain null values |
### | -543 | a row in a parent table cannot be deleted because the check constraint check-constraint restricts the deletion |
### | -544 | the check constraint specified in the alter table statement cannot be added because an existing row violates the check constraint |
### | -545 | the requested operation is not allowed because a row does not satisfy the check constraint check-constraint |
### | -546 | the check constraint constraint-name is invalid |
### | -548 | a check constraint that is defined with column-name is invalid |
### | -549 | the statement statement is not allowed for object_type1 object_name because the bind option dynamicrules(run) is not in effect for object_type2 |
### | -551 | auth-id does not have the privilege to perform operation operation on object object-name |
### | -552 | authorization-id does not have the privilege to perform operation operation |
### | -553 | authorization-id specified is not one of the valid authorization ids for requested operation |
### | -554 | an authorization id or role cannot grant a privilege to itself |
### | -555 | an authorization id or role cannot revoke a privilege from itself |
### | -556 | revoke-target cannot have the privilege privilege object-name revoked by revoker-id because the revokee does not possess the privilege or the revoker did not make the grant |
### | -557 | inconsistent grant/revoke keyword keyword. permitted keywords are keyword-list |
### | -559 | all authorization functions have been disabled |
### | -562 | the specified privileges cannot be granted to public. |
### | -567 | bind-type authorization error using auth-id authority package = package-name privilege = privilege |
### | -571 | the statement would result in a multiple site update |
### | -573 | table table-name does not have a unique key with the specified column names |
### | -574 | the specified default value or identity attribute value conflicts with the definition of column column-name |
### | -575 | object object-name (object type object-type) cannot be referenced explicitly or implicitly |
### | -577 | object-type object-name attempted to modify data when the definition of the function or procedure did not specify this action |
### | -578 | the return statement was not executed for sql function function-name. |
### | -579 | object-type object-name attempted to read data when the definition of the function or procedure did not specify this action |
### | -580 | the result-expressions of a case expression cannot all be null |
### | -581 | the data types of the result-expressions of a case expression are not compatible |
### | -582 | the search-condition in a searched-when-clause of a case is not valid in the context in which it was specified. the search condition contains a quantified predicate or an in predicate that includes a fullselect, and these are not allowed in the specified context. |
### | -583 | the use of function or expression name is invalid because it is not deterministic or has an external action |
### | -584 | invalid use of null |
### | -585 | the collection collection-id appears more than once in the set special-register statement |
### | -586 | the total length of the current path special register cannot exceed 2048 characters |
### | -589 | a positioned delete or update statement for cursor cursor-name specified a row of a rowset, but the cursor is not positioned on a rowset |
### | -590 | name name is not unique in the create or alter for routine routine-name |
### | -592 | not authorized to create functions or procedures in wlm environment env-name |
### | -593 | not null must be specified for column-name because it is defined as a rowid (or distinct type for rowid), row change timestamp column, row begin column, row end column, or column of a period column-name |
### | -594 | attempt to create a nullable rowid or distinct type column column-name |
### | -601 | the name (version or volume serial number) of the object to be defined or the target of a rename statement is identical to the existing name (version or volume serial number) object-name of the object type object-type |
### | -602 | too many columns, periods, or key-expressions specified in a create index or alter index statement |
### | -603 | a unique index cannot be created because the table contains rows which are duplicates with respect to the values of the identified columns and periods |
### | -604 | a data type definition specifies an invalid length, precision, or scale attribute |
### | -607 | operation or option operation is not defined for this object |
### | -611 | only lockmax 0 can be specified when the lock size of the tablespace is tablespace or table |
### | -612 | identifier is a duplicate name |
### | -613 | the primary key or a hash key or a unique constraint is too long or has too many columns and periods |
### | -614 | the index cannot be created or altered, or the length of a column cannot be changed because the sum of the internal lengths of the columns for the index is greater than the allowable maximum |
### | -615 | operation-type is not allowed on a package in use |
### | -616 | obj-type1 obj-name1 cannot be dropped because it is referenced by obj-type2 obj-name2 |
### | -618 | operation operation is not allowed on system databases |
### | -619 | operation disallowed because the database is not stopped |
### | -620 | keyword keyword in stmt-type statement is not permitted for a space-type space in the database-type database |
### | -621 | duplicate dbid dbid was detected and previously assigned to database-name |
### | -622 | for mixed data is invalid because the mixed data install option is no |
### | -623 | cluster is not valid for table-name |
### | -624 | table table-name already has a primary key or unique constraint with specified columns and periods |
### | -625 | table table-name does not have an index to enforce the uniqueness of the primary or unique key |
### | -626 | the alter statement is not executable because the page set is not stopped |
### | -627 | the alter statement is invalid because the table space or index has user-managed data sets |
### | -628 | the clauses are mutually exclusive |
### | -629 | set null cannot be specified because foreign key name cannot contain null values |
### | -631 | foreign key name is too long or has too many columns |
### | -632 | the table cannot be defined as a dependent of table-name because of delete rule restrictions |
### | -633 | the delete rule must be delete-rule |
### | -634 | the delete rule must not be cascade |
### | -635 | the delete rules cannot be different or cannot be set null |
### | -636 | ranges specified for partition part-num are not valid |
### | -637 | duplicate keyword-name keyword or clause |
### | -638 | table table-name cannot be created because column definition is missing |
### | -639 | a nullable column of a foreign key with a delete rule of set null cannot be a column of the key of a partitioned index |
### | -640 | locksize row cannot be specified because table in this tablespace has type 1 index |
### | -643 | a check constraint or the value of an expression for a column of an index exceeds the maximum allowable length key expression |
### | -644 | invalid value specified for keyword or clause keyword-or-clause in statement statement-type |
### | -646 | table table-name cannot be created in specified table space table-space-name because it already contains a table |
### | -647 | bufferpool bp-name for implicit or explicit tablespace or indexspace name has not been activated |
### | -650 | the alter statement cannot be executed, reason reason-code |
### | -651 | table description exceeds maximum size of object descriptor. |
### | -652 | violation of installation defined edit or validation procedure proc-name |
### | -653 | table table-name in partitioned table space tspace-name is not available because its partitioned index has not been created |
### | -655 | the create or alter stogroup is invalid because the storage group would have both specific and non-specific volume ids |
### | -658 | a object-type cannot be dropped using the statement statement |
### | -660 | index index-name cannot be created or altered on partitioned table space tspace-name because key limits are not specified |
### | -661 | object-type object-name cannot be created on partitioned table space tspace-name because the number of partition specifications is not equal to the number of partitions of the table space |
### | -662 | a partitioned index cannot be created on a table space, or a table space cannot be index-controlled. table space tspace-name, reason reason-code |
### | -663 | the number of key limit values is either zero, or greater than the number of columns in the key of index index-name |
### | -665 | the partition clause of an alter statement is omitted or invalid |
### | -666 | stmt-verb object cannot be executed because function is in progress |
### | -667 | the clustering index for a partitioned table space cannot be explicitly dropped |
### | -668 | the column cannot be added to the table because the table has an edit procedure defined with row attribute sensitivity |
### | -669 | the object cannot be explicitly dropped. reason reason-code |
### | -670 | the record length of the table exceeds the page size limit |
### | -671 | the bufferpool attribute of the table space cannot be altered as specified because it would change the page size of the table space |
### | -672 | operation drop not allowed on table table_name |
### | -676 | the physical characteristics of the index are incompatible with respect to the specified statement. the statement has failed. reason reason-code |
### | -677 | insufficient virtual storage for bufferpool expansion |
### | -678 | the constant constant specified for the index limit key must conform to the data type data-type of the corresponding column column-name |
### | -679 | the object name cannot be created because a drop is pending on the object |
### | -680 | too many columns specified for a table, view or table function |
### | -681 | column column-name in violation of installation defined field procedure. rt: return-code, rs: reason-code, msg: message-token |
### | -682 | field procedure procedure-name could not be loaded |
### | -683 | the specification for column, distinct type, function, or procedure data-item contains incompatible clauses |
### | -684 | the length of constant list beginning string is too long |
### | -685 | invalid field type, column-name |
### | -686 | column defined with a field procedure can not compare with another column with different field procedure |
### | -687 | field types incomparable |
### | -688 | incorrect data returned from field procedure, column-name, msgno |
### | -689 | too many columns defined for a dependent table |
### | -690 | the statement is rejected by data definition control support. reason reason-code |
### | -691 | the required registration table table-name does not exist |
### | -692 | the required unique index index-name for ddl registration table table-name does not exist |
### | -693 | the column column-name in ddl registration table or index name is not defined properly |
### | -694 | the schema statement cannot be executed because a drop is pending on the ddl registration table table-name |
### | -695 | invalid value seclabel specified for security label column of table table-name |
### | -696 | the definition of trigger trigger-name includes an invalid use of correlation name or transition table name name. reason code=reason-code |
### | -697 | old or new correlation names are not allowed in a trigger defined with the for each statement clause. old_table or new_table names are not allowed in a trigger with the before clause. |
### | -713 | the replacement value for special-register is invalid |
### | -715 | program program-name with mark release-dependency-mark failed because it depends on functions of the release from which fallback has occurred |
### | -716 | program program-name precompiled with incorrect level for this release |
### | -717 | bind-type for object-type object-name with mark release-dependency-mark failed because object-type depends on functions of the release from which fallback has occurred |
### | -718 | rebind of package package-name failed because ibmreqd of ibmreqd is invalid |
### | -719 | bind add error using auth-id authority package package-name already exists |
### | -720 | bind error, attempting to replace package = package_name with version= version2 but this version already exists |
### | -721 | bind error for package = pkg-id contoken = contoken’x is not unique so it cannot be created |
### | -722 | bind-type error using auth-id authority package package-name does not exist |
### | -723 | an error occurred in a triggered sql statement in trigger-name. information returned: sqlcode: sql-code, sqlstate: sql-state, message tokens token-list, section number section-number |
### | -724 | the activation of the object-type object object-name would exceed the maximum level of indirect sql cascading |
### | -725 | the special register register at location location was supplied an invalid value |
### | -726 | bind error attempting to replace package = package-name. there are enable or disable entries currently associated with the package |
### | -729 | a stored procedure specifying commit on return cannot be the target of a nested call statement |
### | -730 | the parent of a table in a read-only shared database must also be a table in a read-only shared database |
### | -731 | user-defined dataset dsname must be defined with shareoptions(1,3) |
### | -732 | the database is defined on this subsystem with the roshare read attribute but the table space or index space has not been defined on the owning subsystem |
### | -733 | the description of a table space, index space, or table in a roshare read database must be consistent with its description in the owner system |
### | -734 | the roshare attribute of a database cannot be altered from roshare read |
### | -735 | database dbid cannot be accessed because it is no longer a shared database |
### | -736 | invalid obid obid specified |
### | -737 | implicit table space not allowed |
### | -739 | create or alter function function-name failed because functions cannot modify data when they are processed in parallel. |
### | -740 | function name is defined with the option modifies sql data which is not valid in the context in which it was invoked |
### | -741 | a database-type database is already defined for member member-name |
### | -742 | dsndb07 is the implicit work file database |
### | -746 | the sql statement in function, trigger, or in stored procedure name violates the nesting sql restriction |
### | -747 | table table-name is not available until the auxiliary tables and indexes for its externally stored columns have been created |
### | -748 | an index index-name already exists on auxiliary table table-name |
### | -750 | the source table table-name cannot be renamed or altered because it is referenced in an existing view, materialized query table, or is a clone table, or has a clone table defined for it. |
### | -751 | object-type object-name (specific name specific name) attempted to execute an sql statement sql-statement that is not allowed |
### | -752 | the connect statement is invalid because the process is not in the connectable state |
### | -763 | invalid table space name space-name |
### | -764 | a lob table space and its associated base table space must be in the same database |
### | -765 | table is not compatible with database |
### | -766 | the object of a statement is a table for which the requested operation is not permitted |
### | -767 | missing or invalid column specification for index index-name |
### | -768 | an auxiliary table already exists for the specified column or partition |
### | -769 | specification of create aux table does not match the characteristics of the base table |
### | -770 | table table-name cannot have a lob column unless it also has a rowid, or an xml column unless it also has a docid column |
### | -771 | invalid specification of a rowid column |
### | -773 | case not found for case statement |
### | -775 | statement specified in sql routine is not allowed within a compound statement. |
### | -776 | use of cursor cursor-name is not valid |
### | -778 | ending label label-name does not match the beginning label |
### | -779 | label label specified on a goto, iterate, or leave statement is not valid |
### | -780 | undo specified for a handler |
### | -781 | condition condition-name is not defined or the definition is not in scope |
### | -782 | a condition or sqlstate condition-value specified is not valid |
### | -783 | select list for cursor cursor-name in for statement is not valid. column column-name is not unique |
### | -784 | constraint constraint-name cannot be dropped. |
### | -785 | use of sqlcode or sqlstate is not valid |
### | -787 | resignal statement issued outside of a handler |
### | -797 | the trigger trigger-name is defined with an unsupported triggered sql statement |
### | -798 | a value cannot be specified for column column-name which is defined as generated always |
### | -802 | exception error exception-type has occurred during operation-type operation on data-type data, position position-number |
### | -803 | an inserted or updated value is invalid because the index in index space indexspace-name constrains columns of the table so no two rows can contain duplicate values in those columns. rid of existing row is x record-id |
### | -804 | an error was found in the application program input parameters for the sql statement, reason reason |
### | -805 | dbrm or package name location-name.collection-id.dbrm-name.consistency-token not found in plan plan-name. reason reason-code |
### | -807 | access denied: package package-name is not enabled for access from connection-type connection-name |
### | -808 | the connect statement is not consistent with the first connect statement |
### | -811 | the result of an embedded select statement or a subselect in the set clause of an update statement is a table of more than one row, or the result of a subquery of a basic predicate is more than one value |
### | -812 | the sql statement cannot be processed because a blank collection-id was found in the current packageset special register while trying to form a qualified package name for program program-name.consistency-token using plan plan-name |
### | -817 | the sql statement cannot be executed because the statement will result in a prohibited data change operation. |
### | -818 | the precompiler-generated timestamp x in the load module is different from the bind timestamp y built from the dbrm z |
### | -819 | the view cannot be processed because the length of its parse tree in the catalog is zero |
### | -820 | the sql statement cannot be processed because catalog-table contains a value that is not valid in this release |
### | -822 |