SQL4000-4999
SQL Message ID | Message | Explanation | User Response |
---|---|---|---|
SQL4001N |
The character character in column column on line line is not valid. |
The specified character is not a valid character in SQL statements. The statement cannot be processed. |
Remove or replace the character that is invalid. |
SQL4002N |
token-1 and token-2 are undeclared host variables that cannot both be used as descriptor names in a single SQL statement. |
The specified identifiers have not been declared as host variables. Descriptor names are not declared before using. Because more than one descriptor name in a single statement is not valid, at least one of the host variables is not valid. The statement cannot be processed. |
Correct the use of descriptor names or undeclared host variables in the statement. Note that the statement can contain additional undeclared host variables. |
SQL4003N |
The SQL statement on line line is not supported by this version of the precompiler. |
The release numbers of the precompiler and the installed version of the database manager are not compatible. The specified statement is supported by the database manager but not the precompiler. The statement cannot be processed. |
Repeat the precompile process with the current version of the precompiler. |
SQL4004N |
The package name is not valid. |
The package is not valid. Possible causes:
No package is created. |
Resubmit the command with a valid package name or without the PACKAGE option. |
SQL4005N |
An invalid token token was found starting in position position on line line. |
A syntax error in the SQL statement was detected at the specified token token. The statement cannot be processed. |
Examine the statement, especially around the specified token. Correct the syntax. |
SQL4006N |
The structures are nested too deeply. |
The number of nested structures exceeded the maximum of 25. The statement cannot be processed. |
Reduce the number of nested structures. |
SQL4007N |
The host structure host-structure has no fields. |
No field can be found within the host structure host-structure. The statement cannot be processed. |
Add a field to the host structure. |
SQL4008N |
The host variable name cannot be uniquely referenced even with full qualification. |
The host variable name matches with at least one other unqualified or partially qualified host variable even with full qualification. The command cannot be processed. |
Rename the host variable. |
SQL4009N |
The expression for data length is invalid. |
The expression for data length has syntax errors or is too complex. The statement cannot be processed. |
Check the syntax of the size expression. |
SQL4010N |
Illegal nesting of Compound SQL statements. |
This error is returned when a BEGIN COMPOUND clause is detected as a sub-statement of a Compound SQL statement. |
Resubmit the precompilation without the nested BEGIN COMPOUND. |
SQL4011N |
Invalid SQL sub-statement in a Compound SQL statement. |
This error is returned when an invalid sub-statement is detected
in a Compound SQL statement. Valid statements are:
|
Resubmit the precompilation without the invalid sub-statement. sqlcode: -4011 sqlstate: 42910 |
SQL4012N |
Invalid use of COMMIT in a Compound SQL statement. |
This error is returned when a sub-statement is detected after a COMMIT has been found in a COMPOUND SQL statement. |
Make the COMMIT sub-statement the last sub-statement, and resubmit the precompilation. |
SQL4013N |
An END COMPOUND statement was found without a previous BEGIN COMPOUND statement. |
This error is returned when an END COMPOUND statement has been found without a preceding BEGIN COMPOUND. |
Either remove the END COMPOUND, or add a BEGIN COMPOUND, and resubmit the precompilation. |
SQL4014N |
Invalid Compound SQL syntax. |
This error is returned when a Compound SQL
statement contains a syntax error. Possible causes include:
|
Fix the syntax error and re-precompile. |
SQL4015N |
An error has occurred during preprocessing. |
The external preprocessor has terminated with one or more errors. The command cannot be processed. |
Please refer to the “.err” file for the corresponding source file for more details. |
SQL4016N |
The preprocessor specified cannot be found. |
The preprocessor specified through the PREPROCESSOR option cannot be found. The command cannot be processed. |
Ensure that the preprocessor can be executed from the current directory, and also check the syntax of the PREPROCESSOR option. |
SQL4017W |
Preprocessing has completed successfully. |
Preprocessing of the input file has completed successfully using the external command specified through the PREPROCESSOR option. |
No action is required. |
SQL4018W |
Starting to process the preprocessed file preprocessed-file. |
The precompiler is now processing the preprocessed file. |
No action is required. |
SQL4019W |
Completed processing the preprocessed file preprocessed-file. |
The precompiler has completed processing the preprocessed file. |
No action is required. |
SQL4020N |
The 'long' host variable token-1 is not valid. Use 'sqlint32' instead. |
If the LONGERROR YES precompile option is in effect or the precompile option LONGERROR has not been specified and the platform has 8-byte 'long's, then the INTEGER host variable must be declared with the data type 'sqlint32', not 'long'. On 64 bit platforms with 8-byte 'long' types the precompile option LONGERROR NO can be used to specify that 'long' host variables are to be used for BIGINT data types. For maximum portability the use of 'sqlint32' and 'sqlint64' are recommended for INTEGER and BIGINT data types respectively. |
Replace the current data type of the host variable with the data type specified in the message. |
SQL4100I |
The sqlflag-type SQL language syntax is used for syntax checking by the flagger. |
The SQL statements that have passed the precompiler checking will be subject to checking against the specified syntax by the flagger. Warning message will be issued against the statement when there is a syntax deviation. Processing continues. |
None. This is an informational message only. |
SQL4102W |
An SQL syntax deviation has occurred at the token starting with the text text. |
The flagger has detected a deviation from the SQL language syntax specified in the SQLFLAG precompiler option. Processing continues. |
Correct the SQL statement. |
SQL4103W |
A data definition statement is not within a CREATE SCHEMA statement. |
The FIPS standard requires that all data definition statements are contained within a CREATE SCHEMA statement. Processing continues. |
Correct the SQL statement. |
SQL4104W |
There is a non-standard embedded comment. |
A comment embedded in an SQL statement does not meet the requirements of the standard being flagged. The comment does not begin with at least two consecutive hyphens Processing continues. |
Correct the SQL statement. |
SQL4105W |
An SQL syntax deviation has occurred. The statement is not complete. |
The SQL statement has terminated before all required elements have been found. Processing continues. |
Correct the SQL statement. |
SQL4106W |
The identifier identifier is more than 18 characters. |
Authorization identifier, table identifier, column name, correlation name, module name, cursor name, procedure name, or parameter name has a length of more than 128 bytes. Processing continues. |
Correct the SQL statement. |
SQL4107W |
Column column has an invalid length, precision, or scale attribute. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4108W |
An indicator variable has data type other than exact numeric, or has a non-zero scale. |
Data type of an indicator variable should be exact numeric with a scale of zero. Processing continues. |
Correct the SQL statement. |
SQL4109W |
The SET FUNCTION SPECIFICATION references column column. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4110W |
A VALUE EXPRESSION containing column cannot include operators. |
A VALUE EXPRESSION cannot include operators in an OUTER REFERENCE COLUMN REFERENCE. Processing continues. |
Correct the SQL statement. |
SQL4111W |
The COLUMN REFERENCE is missing or is invalid for the ALL column function function. |
The VALUE EXPRESSION of an ALL SET FUNCTION SPECIFICATION should include a COLUMN REFERENCE. Processing continues. |
Correct the SQL statement. |
SQL4112W |
Column column is not unique and requires qualification. |
The specified column is not unique within the current scope. Qualification must be given to uniquely identify the required column. Processing continues. |
Correct the SQL statement. |
SQL4113W |
A VALUE EXPRESSION may not contain a SET FUNCTION SPECIFICATION. |
The VALUE EXPRESSION of an ALL SET FUNCTION may not contain SET FUNCTION SPECIFICATION. Processing continues. |
Correct the SQL statement. |
SQL4114W |
Column column does not identify a column of a table within the current scope. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4115W |
A column function that contains the OUTER REFERENCE column column is not in the subquery of a HAVING clause. |
A column function must be contained in a subquery of a HAVING clause if it contains an OUTER REFERENCE COLUMN REFERENCE. Processing continues. |
Correct the SQL statement. |
SQL4116W |
The result of a SUM or AVG function cannot be a character string. |
Character string is not valid for the result of a SUM or AVG SET FUNCTION SPECIFICATION. Processing continues. |
Correct the SQL statement. |
SQL4117W |
Operator operator is invalid in this context. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4118W |
The exptype EXPRESSION is comparing incompatible data types. |
The data types of one of the following (identified by exptype)
do not match:
Processing continues. |
Correct the SQL statement. |
SQL4119W |
The operand in the LIKE predicate is not a character string. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4120W |
The ESCAPE character must be a one-byte character string. |
Escape character in a LIKE predicate must have the data type of character string with a length of 1. Processing continues. |
Correct the SQL statement. |
SQL4121W |
The WHERE clause, GROUP BY clause or HAVING clause is invalid for the grouped view schema-name.view. |
If the table identified in the FROM clause is a grouped view, then the TABLE EXPRESSION must not contain a WHERE clause, GROUP BY clause, or HAVING clause. Processing continues. |
Correct the SQL statement. |
SQL4122W |
schema-name.name occurs more than once in a FROM clause. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4123W |
Only one table reference is allowed in the FROM clause for a grouped view. |
If the table identified by table name is a GROUPed view, then the FROM clause must contain exactly one table reference. Processing continues. |
Correct the SQL statement. |
SQL4124W |
A reference to column column derived from a column function is invalid in a WHERE clause. |
A VALUE EXPRESSION directly contained in the SEARCH CONDITION of a WHERE clause must not include a reference to a column derived from a column function. Processing continues. |
Correct the SQL statement. |
SQL4125W |
A HAVING clause must contain the WHERE clause when the WHERE clause has a column function. |
If a VALUE EXPRESSION directly contained in the SEARCH CONDITION is a column function, then the WHERE clause must be contained in a HAVING clause. Processing continues. |
Correct the SQL statement. |
SQL4126W |
The COLUMN REFERENCE for column must be an OUTER REFERENCE. |
If a VALUE EXPRESSION directly contained in the SEARCH CONDITION is a function, then the COLUMN REFERENCE in the column function expression must be an OUTER REFERENCE. Processing continues. |
Correct the SQL statement. |
SQL4127W |
Column column is duplicated within the current scope. |
The specified column is duplicated within the current scope. Processing continues. |
Correct the SQL statement. |
SQL4128W |
The COLUMN REFERENCE for column-name should be a grouping column or should be specified within a column function. |
Each COLUMN REFERENCE contained in a subquery in the SEARCH CONDITION of a HAVING clause must reference a grouping column or be specified within a column function. Processing continues. |
Correct the SQL statement. |
SQL4129W |
DEGREE of table schema-name.table should be 1 when using a SELECT LIST of *. |
The DEGREE of the TABLE EXPRESSION must be 1 if a SELECT LIST of * is specified in a subquery of any predicate other than an EXISTS predicate. Processing continues. |
Correct the SQL statement. |
SQL4130W |
The column function is not valid for the TABLE EXPRESSION beginning with table schema-name.table. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4131W |
The COLUMN REFERENCE for column is invalid. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4132W |
DISTINCT is specified more than once. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4133W |
The COMPARISON PREDICATE subquery cannot contain a GROUP BY or HAVING clause. |
If a subquery is specified in a COMPARISON PREDICATE, then the TABLE EXPRESSION whose FROM clause identifies the named table must not contain a GROUP BY clause or a HAVING clause. Processing continues. |
Correct the SQL statement. |
SQL4134W |
The COMPARISON PREDICATE subquery cannot identify a grouped view. |
If a subquery is specified in a COMPARISON PREDICATE, then the TABLE EXPRESSION whose FROM clause identifies the named table must not identify a GROUPed view. Processing continues. |
Correct the SQL statement. |
SQL4135W |
There is an invalid AUTHORIZATION IDENTIFIER authid. |
The AUTHORIZATION IDENTIFIER prefixed to the table name is invalid. Processing continues. |
Correct the SQL statement. |
SQL4136W |
Table or view schema-name.name already exists. |
The table name or view name specified already exists in the catalog. Processing continues. |
Correct the SQL statement. |
SQL4137W |
The COLUMN DEFINITION is missing. |
At least one COLUMN DEFINITION should be specified for a CREATE TABLE. Processing continues. |
Correct the SQL statement. |
SQL4138W |
The data type type1 of the target is not compatible with the data type type2 of the source. |
Data types should match:
Processing continues. |
Correct the SQL statement. |
SQL4139W |
You must specify a VIEW COLUMN LIST for schema-name.table. |
If any two columns in the table specified by the QUERY SPECIFICATION have the same column name, or if any column of that table is an unnamed column, then a VIEW COLUMN LIST must be specified. Processing continues. |
Correct the SQL statement. |
SQL4140W |
An error has occurred causing the flagger to stop. Module name = module-name. Internal error code = error-code. |
The flagger has encountered an internal error. If the syntax, bindfile or package option is also specified, processing continues but flagger operation is discontinued. Otherwise, processing is terminated. |
Record this message number (SQLCODE), module name and error code in the message. Contact your technical service representative with the information. |
SQL4141W |
An error has occurred when attempting to produce message message-number in module module-name. |
The FLAGGER has attempted to produce an undefined message. Processing continues. |
Record this message number (SQLCODE), module name and error code in the message. Contact your technical service representative with the information. |
SQL4142W |
There is not enough memory for flagger operation. Internal error code = error-code. |
There is not enough memory for the flagger to operate. If the syntax, bindfile or package option is also specified, processing continues but flagger operation is discontinued. Otherwise, processing is terminated. |
Ensure that your system has sufficient real and virtual memory, and remove any unnecessary background processes. |
SQL4143W |
An error has occurred when releasing flagger memory. Internal error code = error-code. |
The flagger cannot release allocated memory. If the syntax, bindfile or package option is also specified, processing continues but flagger operation is discontinued. Otherwise, processing is terminated. |
Restart precompilation if flagging is required. |
SQL4144W |
Internal error on call to the FLAGGER found in module module-name. Internal error code = error-code. |
The FLAGGER encountered an internal error. Preprocessing continues but FLAGGER operation is discontinued. |
Record this message number (SQLCODE), module name and error code in the message. Contact your technical service representative with the information. |
SQL4145W |
Error during FLAGGER access to the system catalog. Flagging continues to check syntax only. SQLCODE = nnn SQLERRP = modname SQLERRD1 = nnn Creator = creatorname Table = tablename. |
An internal error has occurred during FLAGGER access to the system catalog. Processing continues but with flagger syntax checking only. |
Record this message number (SQLCODE), module name and error code in the message. Contact your technical service representative with the information. |
SQL4146W |
Internal error occurred causing the semantics processing to stop. Module name = module-name. Internal error code = error-code. |
The FLAGGER has encountered a severe internal error in a semantics analysis routine. Processing continues but with flagger syntax checking only. |
Record this message number (SQLCODE), module name and error code in the message. Contact your technical service representative with the information. |
SQL4147W |
Invalid flagger version number. |
An invalid flagger version number is passed to the Precompiler Services COMPILE SQL STATEMENT API. If the syntax, bindfile or package option is also specified, processing continues but flagger operation is discontinued. Otherwise, processing is terminated. |
Provide a valid flagger version number. Refer to the Command Reference manual. |
SQL4170W |
You must declare column column as NOT NULL. |
All columns identified as UNIQUE must be defined with the NOT NULL option. Processing continues. |
Correct the SQL statement. |
SQL4171W |
The viewed table schema-name.table must be updatable. |
When the WITH CHECK OPTION clause is specified then the viewed table must be updatable. Processing continues. |
Correct the SQL statement. |
SQL4172W |
Invalid number of column names. |
The number of column names in the VIEW COLUMN LIST should be the same as the DEGREE of the table specified by the QUERY SPECIFICATION. Processing continues. |
Correct the SQL statement. |
SQL4173W |
You must declare cursor cursor before using it. |
The cursor specified has not been declared in a DECLARE CURSOR statement. Processing continues. |
Correct the SQL statement. |
SQL4174W |
Cursor cursor is already declared. |
Cursor specified has already been declared in a DECLARE CURSOR statement. Processing continues. |
Correct the SQL statement. |
SQL4175W |
Only * or column names are valid in this context. |
When UNION is specified, the SELECT LIST for the specification of the two TABLE EXPRESSIONs identified by the QUERY EXPRESSION and QUERY TERM should consist of * or COLUMN REFERENCE(s). Processing continues. |
Correct the SQL statement. |
SQL4176W |
The descriptions of tables identified by the QUERY EXPRESSION beginning with schema-name1.table1 and the QUERY TERM beginning with schema-name2.table2 should be identical. |
When UNION is specified, the descriptions of the two tables should be identical, except for the column names. Processing continues. |
Correct the SQL statement. |
SQL4177W |
The SORT SPECIFICATION number is outside the DEGREE of cursor cursor. |
If the SORT SPECIFICATION contains an unsigned integer, it should be greater than 0 and not greater than the number of columns in the table. Processing continues. |
Correct the SQL statement. |
SQL4178W |
Table schema-name.table is a read-only table. |
A DELETE, an INSERT, or an UPDATE was specified on a read-only table. Processing continues. |
Correct the SQL statement. |
SQL4179W |
Table schema-name.table must not be identified in a FROM clause of any subquery contained in a SEARCH CONDITION. |
A table specified in a DELETE or an UPDATE cannot be used in a FROM clause of any subquery contained in its SEARCH CONDITION. Processing continues. |
Correct the SQL statement. |
SQL4180W |
Table schema-name1.table1 is not the first table schema-name2.table2 specified in the DECLARE CURSOR statement. |
Table specified in a DELETE or an UPDATE statement should be the first table specified in the FROM clause of the DECLARE CURSOR statement. Processing continues. |
Correct the SQL statement. |
SQL4181W |
The number of TARGET SPECIFICATIONs does not match the DEGREE of cursor cursor. |
The number of TARGET SPECIFICATIONs in the FETCH statement does not match the DEGREE of the table specified. Processing continues. |
Correct the SQL statement. |
SQL4182W |
Target table schema-name.table of the INSERT statement is also in the FROM clause or in the subquery. |
The named table must not be identified in a FROM clause of a QUERY SPECIFICATION or of any subquery contained in the QUERY SPECIFICATION. Processing continues. |
Correct the SQL statement. |
SQL4183W |
The number of columns specified does not match the number of values specified. |
In an INSERT statement, the number of columns specified does not match the number of values specified. Processing continues. |
Correct the SQL statement. |
SQL4184W |
The number of columns specified does not match the DEGREE of the QUERY SPECIFICATION beginning with table schema-name.table. |
In an INSERT statement, the number of columns specified does not match the DEGREE of the table specified in the QUERY SPECIFICATION Processing continues. |
Correct the SQL statement. |
SQL4185W |
There is a data type or length mismatch between column column and the INSERT or UPDATE item. |
One of the following conditions has not been met:
Processing continues. |
Correct the SQL statement. |
SQL4186W |
You cannot use a GROUP BY or HAVING clause or identify a grouped view in this context. |
The table identified in the FROM clause of the TABLE EXPRESSION in a SELECT statement should not include a GROUP BY or HAVING clause and should not identify a GROUPed view. Processing continues. |
Correct the SQL statement. |
SQL4187W |
The number of elements specified in the SELECT LIST should match the number in the SELECT TARGET LIST. |
In the SELECT statement, the number of elements specified in the SELECT LIST should match the number of elements in the SELECT TARGET LIST. Processing continues. |
Correct the SQL statement. |
SQL4188W |
A column function is not allowed in a SET clause of an UPDATE statement. |
A VALUE EXPRESSION in a SET clause of an UPDATE statement should not include a column function. Processing continues. |
Correct the SQL statement. |
SQL4189W |
You cannot specify NULL for NOT NULL column column. |
If NULL is specified in the SET clause of the UPDATE statement, then the corresponding column should allow nulls. Processing continues. |
Correct the SQL statement. |
SQL4190W |
A host variable of an unrecognized data type is referenced. Host variable position is position. |
The host variable reference at position position is of a data type not recognized by the standard. Processing continues. |
Correct the SQL statement. |
SQL4191W |
The data type of column column-name is not recognized. |
The data type of the column is not recognized by the standard. Processing continues. |
Correct the SQL statement. |
SQL4192W |
Table schema-name.table is not found in the catalog. |
The named table or view does not exist in the system catalog. |
|
SQL4300N |
Java support is not installed or properly configured on this platform. |
Support for Java stored procedures and user-defined functions is not installed and configured on this server. |
Ensure that a compatible Java Runtime Environment or Java Development Kit for the server is installed. Ensure that the "JDK_PATH" configuration parameter is correctly set. sqlcode: -4300 sqlstate: 42724 |
SQL4301N |
Java or .NET interpreter startup or communication failed, reason code reason-code. |
An error occurred while attempting to start or communicate
with a Java interpreter. The reason codes are:
|
For Java, ensure that the Java database configuration parameters (jdk_path and java_heap_sz) are correctly set. Ensure that a supported Java runtime environment is installed. Ensure that internal DB2 classes (COM.ibm.db2) are not overridden by user classes. For .NET, ensure that the database manager instance is configured correctly to run a .NET procedure or function (mscoree.dll must be present in the system PATH). Ensure that db2clr.dll is present in the sqllib/bin directory, and that IBM.Data.DB2 is installed in the global assembly cache. sqlcode: -4301 sqlstate: 58004 |
SQL4302N |
Procedure or user-defined function name, specific name spec-name aborted with an exception string. |
The procedure or user-defined function aborted with an exception. The administration notification log contains a stack traceback for the aborted routine. |
If the name and the spec-name are BigSQL IO, the Big SQL Java reader and writer JVM encountered a severe error. In this case, the fenced mode process (FMP) managing the JVM is marked unusable and a new FMP is created to handle any new requests to the Big SQL Java reader and writer JVM. The string identifies a Big SQL log entry identifier, which is composed of three parts:
Locate the diagnostic details in the appropriate log file by using the information in the string runtime token. Otherwise, debug the routine to eliminate the exception. sqlcode: -4302 sqlstate: 38501 |
SQL4303N |
Java stored procedure or user-defined function name, specific name spec-name could not be identified from external name string. |
The CREATE PROCEDURE or CREATE FUNCTION statement that declared this stored procedure or user-defined function had a badly formatted EXTERNAL NAME clause. The external name must be formatted as follows: "package.subpackage.class!method". |
Submit a corrected CREATE PROCEDURE or CREATE FUNCTION statement. sqlcode: -4303 sqlstate: 42724 |
SQL4304N |
Java stored procedure or user-defined function name, specific name spec-name could not load Java class class, reason code reason-code. |
The Java class given by the EXTERNAL NAME clause of a
CREATE PROCEDURE or CREATE FUNCTION statement could not
be loaded. The reason codes are:
|
Ensure that the compiled ".class" file is installed in the CLASSPATH, for example under "sqllib/function". Ensure it implements the required Java interfaces and is "public". sqlcode: -4304 sqlstate: 42724 |
SQL4306N |
Java stored procedure or user-defined function name, specific name spec-name could not call Java method method, signature string. |
The Java method given by the EXTERNAL NAME clause of a CREATE PROCEDURE or CREATE FUNCTION statement could not be found. Its declared argument list may not match what the database expects, or it may not be a "public" instance method. |
Ensure that a Java instance method exists with the "public" flag and the expected argument list for this call. sqlcode: -4306 sqlstate: 42724 |
SQL4400N |
authorization-ID does not have the authority to perform the administration task at the DB2 Administration Server. |
The user does not have the necessary authority at the DB2 Administration Server to perform the attempted administrative action. |
Submit the request to the DB2 Administration Server using a user ID with DASADM authority. DASADM authority is required to perform any administrative actions against the DB2 Administration Server. The DASADM group is a DB2 Administration Server configuration parameter. Verify the current setting of the DASADM group by viewing the DB2 Administration Server configuration parameters using the GET ADMIN CONFIGURATION command. To modify the value of any configuration parameter, use the UPDATE ADMIN CONFIGURATION command. |
SQL4401C |
The DB2 Administration Server encountered an error during startup. |
An error was encountered during startup of the DB2 Administration Server. |
Refer to the DB2 Administration Server's First Failure Data Capture Log for additional information. Take the appropriate action as necessary and attempt to restart the DB2 Administration Server. If the problem persists contact your technical service representative. |
SQL4402W |
The DB2ADMIN command was successful. |
All processing completed normally. |
No further action is required. |
SQL4403N |
The syntax of the command is invalid. |
The command was entered using invalid arguments or an invalid number of parameters. |
Re-submit the command with valid argument(s). |
SQL4404N |
The DB2 Administration Server does not exist. |
The DB2 Administration Server was not found on the machine. |
Create the DB2 Administration Server on the machine.
|
SQL4405W |
The DB2 Administration Server already exists. |
The DB2 Administration Server already exists on the machine |
No further action is required. |
SQL4406W |
The DB2 Administration Server was started successfully. |
All processing completed normally. |
No further action is required. |
SQL4407W |
The DB2 Administration Server was stopped successfully. |
All processing completed normally. |
No further action is required. |
SQL4408N |
The DB2 Administration Server was not dropped because it is active. |
The DB2 Administration Server must be stopped before it can be dropped. |
To stop the DB2 Administration Server, enter the following command:
|
SQL4409W |
The DB2 Administration Server is already active. |
The DB2ADMIN START command cannot be processed because the DB2 Administration Server is already active. |
No further action is required. |
SQL4410W |
The DB2 Administration Server is not active. |
The DB2ADMIN STOP command cannot be processed because the DB2 Administration Server is not active. |
No further action is required. |
SQL4411N |
The requested operation is not allowed because the server instance is not the DB2 Administration Server. |
The requested operation is only valid when issued against the DB2 Administration Server. |
The DB2 Administration Server should be set up using the DB2ADMIN command. |
SQL4412N |
The logon user account for the DB2 Administration Server is invalid. |
To perform the requested task, the DB2 Administration Server must be running under a valid logon user account. This error is either caused by the account not being setup, or the logon user account does not contain a valid DB2 user ID. |
If a logon user account has been set up, then ensure that the account uses a valid DB2 user ID. You can set up the logon user account for the DB2 Administration Server by
using the following command:
|
SQL4413W |
Usage: DB2ADMIN creates, drops, starts, or stops the DB2 Administration Server. |
The DB2ADMIN command syntax is:
The command options are:
|
Issue the DB2ADMIN command with one of the valid command options. |
SQL4414N |
The DB2 Administration Server is not active. |
The request cannot be processed unless the DB2 Administration Server is active. |
Start the DB2 Administration Server by issuing the command DB2ADMIN START, and reissue the request. |
SQL4701N |
Maximal number of data partitions (max-number) exceeded. |
An attempt was made to exceed the maximum number of data partitions. |
If the error occurred on a CREATE TABLE statement with an EVERY clause, the interval was not large enough. Specify a larger interval to reduce the number of data partitions required. If the error occurred on a CREATE TABLE statement without an EVERY clause, too many data partitions were listed. Reduce the number of data partitions specified. If the error occurred on an ALTER TABLE ... ATTACH PARTITION or an ALTER TABLE ... ADD PARTITION statement, the table already has the maximum number of data partitions allowed. Data partitions must be detached before additional data partitions can be added or attached. sqlcode: -4701 sqlstate: 54054 |
SQL4702N |
The activity identified by application handle application-handle, unit of work ID unit-of-work-id, and activity ID activity-id does not exist. |
An attempt was made to perform an operation on an activity identified by an application handle, a unit of work identifier, and an activity identifier. Such an activity does not currently exist within this database. |
Verify that the arguments that were specified for application handle, unit of work identifier, and activity identifier match those of the activity that was intended. Note that it is possible that an activity could leave the system before an operation can be performed on it. sqlcode: -4702 sqlstate: 5U035 |
SQL4703N |
The activity identified by application handle application-handle, unit of work ID unit-of-work-id, and activity ID activity-id cannot be cancelled. Reason code = reason-code. |
The identified activity cannot be cancelled at this time because of its state or the type of activity it is. |
The reason code indicates the situation and particular action to take.
sqlcode: -4703 sqlstate: 5U016 |
SQL4704N |
Only one work action set can be defined for the database or service superclass db-or-ssc-name. |
There is already a work action set defined for the specified database or service superclass db-or-ssc-name. Only one work action set can be defined for any one database or service superclass at any given time. |
Either specify a different database or service superclass or drop the work action set currently defined for that database or service superclass and try the request again. sqlcode: -4704 sqlstate: 5U017 |
SQL4705N |
The service subclass specified in the mapping work action work-action-name cannot be the default service subclass. |
The default service subclass cannot be specified when defining a work action to map activities. |
Specify a different service subclass that is not the default service subclass and try the request again. sqlcode: -4705 sqlstate: 5U018 |
SQL4706N |
Invalid range specified for work class work-class-name. |
The value specified either for the FROM parameter or the TO parameter is not valid. The FROM value must be zero or a positive double-precision value and the TO value must either be a positive double-precision value or UNBOUNDED, to specify no upper bound. If the TO value is not UNBOUNDED, it must be greater than or equal to the FROM value. |
Specify a valid value for both the FROM value and the TO value and try the request again. sqlcode: -4706 sqlstate: 5U019 |
SQL4707N |
The workload named workload-name cannot service the request because the workload is not allowed to access the database. |
The named workload was defined or altered using the DISALLOW DB ACCESS option. As a result, connections associated with this workload are not allowed to access the database. |
If connections associated with the named workload should not be allowed to access this database, confirm that the connection was intended to be associated with the named workload. If the connection was intended to be associated with a different workload, validate the following:
If connections associated with the named workload should be allowed to access this database, alter the named workload using the ALTER WORKLOAD statement with the ALLOW DB ACCESS option. sqlcode: -4707 sqlstate: 5U020 |
SQL4708N |
Only a COMMIT or ROLLBACK statement is allowed at this time for this unit of work. |
One of the following statements has been issued and it must be committed or rolled back before any other SQL statement can be issued:
The workload assignment that was performed at the beginning of the unit of work failed. Subsequent requests cannot be processed until the current unit of work is ended. |
COMMIT or ROLLBACK before issuing another statement. sqlcode: -4708 sqlstate: 5U021 |
SQL4709N |
The last connection attribute cannot be dropped from the definition of workload workload-name. |
The ALTER WORKLOAD statement would have resulted in the last connection attribute being dropped from the workload workload-name, This operation is not allowed. There must be at least one connection attribute specified in the definition of the workload. |
Ensure that the ALTER WORKLOAD statement leaves at least one connection attribute in the definition of the workload. sqlcode: -4709 sqlstate: 5U022 |
SQL4710N |
The workload workload-name cannot be dropped because it is not disabled, it has active workload occurrences, or it has a threshold or a work action set associated with it. |
An attempt to drop workload workload-name has failed for one of the following reasons.
|
Do one of the following:
sqlcode: -4710 sqlstate: 5U023 |
SQL4711N |
The threshold threshold-name cannot be dropped. The threshold is not disabled, the threshold queue is not empty, or an activity is running under the control of the threshold. |
An attempt to drop threshold threshold-name failed. The threshold is not disabled, the threshold queue is not empty, or an activity is running under the control of the threshold. |
If the threshold is not yet disabled, disable it. If the threshold is part of a work action set, you must use the ALTER WORK ACTION SET statement to disable it. If the threshold is not part of a work action set, use the ALTER THRESHOLD statement to disable it. Disabling the threshold prevents new requests from running under the control of the threshold. If the concurrency limit for a queueing threshold has been reached, the DISABLE action prevents new requests from joining the queue. Wait until the currently executing request completes or no more requests are in the queue, then issue the DROP THRESHOLD statement again. sqlcode: -4711 sqlstate: 5U025 |
SQL4712N |
The activity or request was stopped because the threshold threshold-name has been exceeded. Reason code: reason-code. |
You can help maintain stability in your system by creating thresholds to identify and react to work that behaves abnormally. For example, you can limit how long a unit of work executes, by using the UOWTOTALTIME unit of work threshold. Or you can limit the amount of system temporary table space a given activity can consume on a member by using the SQLTEMPSPACE activity threshold. This message is returned when the a threshold has been exceeded and as a result the associated activity or request was stopped. The reason code indicates the reason that the threshold was exceeded:
|
Perform one or more of the following actions:
sqlcode: -4712 sqlstate: 5U026 |
SQL4713N |
The maximum number of service classes has been exceeded for the database or the service superclass. Service class service-class-name cannot be created. |
The service class service-class-name cannot be created because it exceeds the maximum number of service classes that can be created for the database or the service superclass. If service class service-class-name is a service superclass, it exceeds the limit of 64 user-defined service superclasses that can be created per database. If service class service-class-name is a service subclass, it exceeds the limit of 61 user-defined service subclasses that can be created per service superclass. |
Examine the existing service classes and see if any existing service classes can be merged or dropped to make room for the new service class. sqlcode: -4713 sqlstate: 5U027 |
SQL4714N |
The request cannot complete, because service class service-class-name is disabled. |
The request cannot complete, because it is being mapped or remapped to a disabled service class. Service class service-class-name is currently disabled and cannot accept new requests or complete requests that are already executing. |
Contact the database administrator to determine when the service class will no longer be disabled. Retry the request at that time. The database administrator can use ALTER SERVICE CLASS to enable the service class. sqlcode: -4714 sqlstate: 5U028 |
SQL4715N |
Cannot create a service subclass under a default service class. |
Creation of a service subclass under the Default User Class, Default System Class or Default Maintenance Class is not allowed. |
Create the service subclass under a user-defined service superclass. sqlcode: -4715 sqlstate: 5U029 |
SQL4716N |
An error occurred while communicating with the external workload manager. |
The database manager failed to communicate with the external workload manager. The following could have caused the error:
|
If the instance is running on AIX, ensure AIX WLM is installed and active. If the instance is running on Linux, ensure Linux WLM is installed and active. sqlcode: -4716 sqlstate: 5U030 |
SQL4717N |
The service class service-class-name was not dropped. Reason code: reason-code. |
There are several conditions under which a service class may not be dropped, such as if the service class is still enabled or the service class is still referenced by another workload manager object. This message is returned when a service class is prevented from being dropped because of one of these conditions. The token reason-code indicates what condition is preventing the service class from being dropped:
|
To drop the service class, first resolve the condition that is preventing the the service class from being dropped, according to the reason code:
sqlcode: -4717 sqlstate: 5U031 |
SQL4718N |
Default workload management object wlm-object-name was not altered, associated, or configured as specified. Reason code: reason-code. |
There are default workload management objects (such as the default user workload and the default administration workload), that are defined by the system rather than the user. Some actions that you may perform on user-defined workload management objects are not supported on default workload management objects. This message is returned when an attempt is made to perform an unsupported action on a default workload management object. The reason code indicates why the action was not performed:
|
Based on the reason code, perform one of the following actions:
sqlcode: -4718 sqlstate: 5U032 |
SQL4719N |
The PREVENT EXECUTION work action work-action_name is applied to this activity, and so the activity was not run. |
A PREVENT EXECUTION work action is preventing the activity from running. |
Either remove or disable the PREVENT EXECUTION work action. sqlcode: -4719 sqlstate: 5U033 |
SQL4720N |
The work action type specified is not valid for work action work-action-name. Reason code reason-code. |
The type of work action specified is not valid for one of the following reasons:
|
Specify a different type of work action. sqlcode: -4720 sqlstate: 5U034 |
SQL4721N |
The threshold threshold-name cannot be created or altered (reason code = reason-code). |
The threshold cannot be created or altered because it violates a restriction as indicated by the following reason code:
|
The action corresponding to the reason code is:
sqlcode: -4721 sqlstate: 5U037 |
SQL4722N |
The threshold was not created because a threshold object-name with a matching definition already exists. |
A CREATE THRESHOLD statement attempted to create a new threshold which matches an existing threshold definition. Two threshold definitions match if they use the same threshold predicate and are applied to the same domain. The new threshold was not created. |
No action is required unless the existing threshold with name name is not a suitable threshold. In this case, the threshold must be dropped before the required threshold can be created. sqlcode: -4722 sqlstate: 5U038 |
SQL4723N |
The value connection-attribute-value is already defined for connection attribute connection-attribute or a duplicate was detected. |
Either the connection attribute value being added already exists for the connection attribute, or there are duplicates within the list being provided. |
Remove the value and resubmit the statement. sqlcode: -4723 sqlstate: 5U039 |
SQL4724N |
The value connection-attribute-value cannot be dropped as it is not defined for connection attribute connection-attribute. |
The specified connection attribute value is not defined for the connection attribute and so cannot be dropped. |
Specify a connection attribute value that is defined for the connection attribute and resubmit the statement. sqlcode: -4724 sqlstate: 5U040 |
SQL4725N |
The activity has been cancelled. |
The WLM_CANCEL_ACTIVITY procedure has been used to cancel the activity. |
Continue the application. sqlcode: -4725 sqlstate: 57014 |
SQL4726N |
The request cannot complete because the service class with ID service-class-id was dropped while the request was executing. |
The request cannot complete because it is being remapped to a dropped service class. The service class was dropped while the request was executing. Future requests may be unaffected, because they will not be remapped to this service class. |
Reissue the request. If the request continues to fail, it may be prevented from executing for a specific reason. Contact your database administrator to determine why. sqlcode: -4726 sqlstate: 5U045 |
SQL4727N |
The activity cannot be mapped to the service subclass you specified because at least one of the input parameters to the routine WLM_REMAP_ACTIVITY is not valid. Reason code = reason-code. |
The routine WLM_REMAP_ACTIVITY failed because one or more of the input parameters is not valid. The reason codes are as follows:
|
Ensure that the condition in the reason code is satisfied and reinvoke the WLM_REMAP_ACTIVITY routine. sqlcode: -4727 sqlstate: 5U046 |
SQL4728W |
A priority setting was assigned to a service class that is higher than the priority setting of the default system service class SYSDEFAULTSYSTEMCLASS and this might negatively impact performance. |
To ensure that system work can take precedence over user work, the priority settings of the default system service class SYSDEFAULTSYSTEMCLASS should always be higher than the priorities that were set for all other service classes. Failure to assign higher priority settings to the default system service class can result in a negative impact on performance because system-type activities run in the default system service class. |
Raise the priority setting of the default system service class, or lower the priority setting of other service classes that have a higher priority setting than the default system service class. sqlcode: +4728 sqlstate: 01HN1 |
SQL4901N |
Precompiler Services requires reinitialization because of a previous error. |
On a previous function call, an error occurred. The requested function call cannot be processed until Precompiler Services is reinitialized. The function cannot be completed. |
Call the sqlainit function to reinitialize Precompiler Services |
SQL4902N |
At least one of the characters in parameter n of function function is not valid. |
The specified parameter in the specified function contains at least one character that is not valid. The function cannot be completed. |
Correct the specified parameter and call the function again. |
SQL4903N |
The length of parameter n of function name is not valid. |
The length of the specified parameter in the specified function is not valid. The function cannot be completed. |
Correct the specified parameter and call the function again. sqlcode: -4903 sqlstate: 42611 |
SQL4904N |
The pointer to parameter n of function function is not valid. |
The pointer to the specified parameter in the specified function is not valid. The function cannot be completed. |
Correct the specified parameter and call the function again. |
SQL4905N |
The value of parameter n of function function is not within the valid range. |
The value of the specified parameter in the specified function is outside the valid range for that parameter. If the specified parameter is a structure, it may contain values that are within the valid range but are not valid when considered together. Some structures contain headers that specify the allocated size and how much of that size is being used. It is not valid for the allocated size to be less than the used size. The function cannot be completed. |
Correct the specified parameter and call the function again. |
SQL4906N |
The list of table space names specified is an incomplete set for the rollforward operation. |
The list of table space names is incomplete for one of the following reasons:
|
Check the table space list and resubmit the rollforward command with the complete table space list. |
SQL4907W |
Database name is recovered but one or more of the tables in the table space list included for the rollforward operation are placed in the Set Integrity Pending state. |
One or more of the tables involved in the point-in-time tablespace recovery have referential constraints with tables outside of the table space list used for recovery, or have dependent materialized query tables or dependent staging tables outside of the table space list used for recovery. All these tables are placed in the Set Integrity Pending state. Rollforward operation has otherwise completed successfully. |
Check the state for the tables in the table spaces and take appropriate actions if necessary. |
SQL4908N |
The table space list specified for roll-forward recovery on database name is invalid on members or nodes node-list. |
Check for one or more of the following conditions:
|
Ensure that there are no duplicate table space names in the list. Use the MON_GET_TABLESPACE table function on the members or nodes specified to find out which table spaces are not ready to be rolled forward. Use the QUERY STATUS option of the rollforward command to determine the status of the table space rollforward. If the rollforward status is "TBS pending", a new table space rollforward can be started. If the rollforward status is "TBS working", a table space rollforward is already in progress. If starting a new table space rollforward, put the tablespaces into rollforward pending state by restoring them. If continuing a table space rollforward and one or more of the table spaces involved have been restored and put into rollforward pending state, the table space rollforward in progress must be canceled. Submit the rollforward command again with the CANCEL option and the same table space list. When the rollforward in progress is canceled, the table spaces will have been put into restore pending state. Restore the table spaces and submit the original rollforward command again. If continuing a table space rollforward and one or more of the table spaces involved is offline, there are three options:
|
SQL4910N |
Overflow log path log-path is not valid. |
The overflow log path specified on the ROLLFORWARD command is not valid. The overflow log path must be a directory in a file system. This directory must be accessible by the instance owner id. |
Resubmit the command with a valid overflow log path. |
SQL4911N |
The host variable data type is not valid. |
The data type of the host variable is not valid. The function cannot be completed. |
Correct the data type of the host variable and call the function again. |
SQL4912N |
The host variable data length is out of range. |
The length of the host variable is not valid. The function cannot be completed. |
Correct the length of the host variable and call the function again. |
SQL4913N |
The host variable token ID has already been used. |
The token ID of the host variable has already been used. The token ID must be unique within the module. The function cannot be completed. |
Correct the token ID of the host variable and call the function again. |
SQL4914N |
The host variable token ID is not valid. |
The token ID of the host variable is not valid. The function cannot be completed. |
Correct the token ID of the host variable and call the function again. |
SQL4915N |
The "sqlainit" function has already been called. |
Precompiler Services has already been initialized. |
No action is required. Continue processing. |
SQL4916N |
The "sqlainit" function has not been called. |
Precompiler Services must be initialized before the requested function call can be processed. The function cannot be completed. |
Issue an sqlainit function call to initialize Precompiler Services. |
SQL4917N |
Element number in the option array is not valid. |
The option array contains an element with an option.type or option.value that is not valid. The element number in the message is the nth element in the option portion of the option array. The function cannot be completed. |
Correct the values stored in the option array. Call the function again. |
SQL4918N |
The term_option parameter of function "sqlainit" is not valid. |
The term_option parameter is not valid. The function cannot be completed. |
Correct the term_option parameter and call the function again. |
SQL4919N |
The task_array parameter of function "sqlacmpl" is too small. |
The task array structure passed to Precompiler Services on the sqlacmpl function call is too short. The function did not complete successfully. |
Increase the size of the precompiler task array structure allocated by the precompiler. Recompile the application program. |
SQL4920N |
The token_id_array parameter of function "sqlacmpl" is too small. |
The token id array structure passed to Precompiler Services on the sqlacmpl() function call is too small. The function did not complete successfully. |
Increase the size of the precompiler token id array structure allocated by the precompiler. Recompile the application program. |
SQL4921N |
The rollforward command failed due to a prior point in time recovery currently in process on all database partitions. |
The database is currently in the process of a point in time recovery on all database partitions. A subsequent rollforward command cannot be issued until the prior point in time recovery has been completed or canceled. |
Re-issue the ROLLFORWARD DATABASE command using the STOP option without specifying the ON database partition clause. |
SQL4930N |
The bind, rebind, alter, or precompile option or option value option-name is invalid. |
Either option-name is an invalid bind, rebind, alter, or precompile option or the value specified for this option is invalid. The bind, rebind, alter, or precompile cannot continue. |
Correct the bind, rebind, alter, or precompile option or option value and retry the command or statement. sqlcode: -4930 sqlstate: 56095 |
SQL4940N |
The clause clause is not permitted or is required. |
The indicated clause is either not allowed in the context where it appears in the SQL statement or it is required in the statement. A subquery, an INSERT statement, or a CREATE VIEW statement cannot have INTO, ORDER BY, or FOR UPDATE clauses. An embedded SELECT statement cannot have ORDER BY or FOR UPDATE clauses. An embedded SELECT statement cannot contain a set operator except in a subquery. SELECT statements used in cursor declarations cannot have an INTO clause. An embedded SELECT statement must have an INTO clause. The function cannot be completed. |
Remove or add the clause to correct the statement. |
SQL4941N |
The SQL statement is blank or empty. |
The text following EXEC SQL was blank or empty. The function cannot be completed. |
Ensure that a valid SQL statement is provided following the word EXEC SQL. |
SQL4942N |
The statement selects an incompatible data type into host variable name. |
An embedded SELECT statement selects into a host variable name but the data type of the variable and the corresponding SELECT list element are not compatible. If the data type of the column is date and time, the data type of the variable must be character with an appropriate minimum length. For a user-defined data type, the host variable might be defined with an associated built-in data type that is not compatible with the result type of the FROM SQL transform function defined in the transform group for the statement. The function cannot be completed. |
Verify that the table definitions are current and that the host variable has the proper data type. |
SQL4943W |
The number of host variables in the INTO clause is not the same as the number of items in the SELECT clause. |
The number of host variables specified in both the INTO clause and the SELECT clause must be the same. The function is processed. |
Correct the application program to specify the same number of host variables as SELECT list expressions. |
SQL4944N |
An update or insert value is NULL, but the object column cannot contain NULL values. |
One of the following occurred:
The function cannot be completed. |
Examine the definition of the object table to determine which columns of the table have the NOT NULL attribute, and correct the SQL statement. |
SQL4945N |
The use of a parameter marker is not valid. |
Parameter markers can be used only in dynamic SQL statements. The function cannot be completed. |
Use host variables instead of parameter markers for static SQL statements. |
SQL4946N |
The cursor or statement name name is not defined. |
The cursor or statement name name specified in the statement is not defined. The function cannot be completed. |
Check the application program for completeness and possible spelling errors in the cursor or statement names. |
SQL4947W |
An INCLUDE SQLDA statement was encountered and ignored. |
The FORTRAN precompiler shipped by the database manager does not support the INCLUDE SQLDA statement. The statement is ignored. Processing continues. |
No action is required. To prevent this message, remove the INCLUDE SQLDA statement from the program. |
SQL4950N |
Compound SQL statements containing user-defined SQLDAs are not supported in this environment. |
Compound SQL statements containing user-defined SQLDAs are not supported in a 16-bit application. |
Move the statement out of the compound SQL block or replace the statement with one that uses host variables instead of an SQLDA. |
SQL4951N |
The sqlda_id parameter of function name is not valid. |
The sqlda_id parameter of the specified function in the application program is not valid. The sqlda_id parameter cannot be null. The function cannot be completed. |
Correct the sqlda_id parameter in the application program. |
SQL4952N |
The sqlvar_index parameter of function name is not valid. |
The sqlvar_index parameter of the specified function in the application program is not valid. The sqlvar_index may be larger than the number of sqlvar elements in the SQLDA. The function cannot be completed. |
Correct the sqlvar_index parameter in the application program. |
SQL4953N |
The call_type parameter of function name is not valid. |
The call_type parameter of the specified function in the application is not valid. The function cannot be completed. |
Correct the call_type parameter in the application program. |
SQL4954N |
The section_number parameter of function name is not valid. |
The
section_number parameter of the specified
function in the application program is not valid.
Note that for the following SQL statements, the section_number parameter
of the function sqlacall() is used to pass in the statement type:
The function cannot be completed. |
Correct the section_number parameter in the application program. |
SQL4970N |
Rollforward recovery stopped on the database named database-name because the rollforward utility cannot reach the specified stop point (end-of-log or point-in-time) on the following database partitions: database-partition-list. |
This message is returned in the following situations:
If ",..." is displayed at the end of the database partition list, see the administration notification log for the complete list of database partitions. Rollforward recovery has stopped. The database is left in rollforward pending state. |
|
SQL4971N |
Roll-forward recovery on database name on node node-number failed previously while stopping. Roll-forward recovery must be stopped. |
A request was made to continue rolling forward the specified database by specifying caller action SQLUM_ROLLFWD. The previous iteration of roll-forward recovery failed while stopping. If rolling forward at the database level, this means that it failed during log truncation. Roll-forward recovery for this database must now be stopped by specifying caller action SQLUM_ROLLFWD_STOP, SQLUM_STOP, SQLUM_ROLLFWD_COMPLETE, or SQLUM_COMPLETE. Note : if you are using a partitioned database server, the node number indicates which node the error occurred on. Otherwise, it is not pertinent and should be ignored. |
Reissue the ROLLFORWARD DATABASE command with caller action SQLUM_ROLLFWD_STOP, SQLUM_STOP, SQLUM_ROLLFWD_COMPLETE, or SQLUM_COMPLETE. Any stoptime specified will be ignored since the previous stoptime is already being processed. |
SQL4972N |
Log extent extent on node node-number could not be moved to the database logpath. |
The Rollforward utility was invoked with the STOP option. As part of roll-forward processing, the log extent extent has to be truncated. This extent must exist in the database logpath. Currently, the extent exists in the overflow log path. An attempt was made to move the extent from the overflow log path to the database logpath. The attempt failed. Roll-forward processing has been stopped. Note : if you are using a partitioned database server, the node number indicates which node the error occurred on. Otherwise, it is not pertinent and should be ignored. |
Move the extent from the overflow log path to the database logpath and then resubmit the ROLLFORWARD DATABASE command. |
SQL4973N |
Forward recovery on database name cannot complete because the log information on database partition(s) node-list does not match the corresponding record(s) on the catalog database partition. |
The Rollforward utility processed all the log files found on each database partition, but the stop points on the specified database partitions do not match the corresponding records on the catalog database partition. This can be caused by missing log files on either the catalog database partition or on the specified database partitions, or the catalog database partition must be included in the list of database partitions to be rolled forward. The ROLLFORWARD DATABASE processing stops. |
Do one of the following:
|
SQL4974W |
The ROLLFORWARD DATABASE QUERY STATUS command encountered sqlcode sqlcode. |
The ROLLFORWARD DATABASE QUERY STATUS command encountered an error with the sqlcode sqlcode. The query might not be successful on some nodes for various reasons. The most severe error is indicated by sqlcode. The roll-forward status is only returned for the successful nodes. |
Look up the sqlcode sqlcode in the Message Reference, or online to determine the problems on the failed nodes. Take the required corrective actions, then continue the forward recovery on these nodes. |
SQL4975W |
Roll-forward operation was canceled successfully. The database or selected table spaces have to be restored on members or nodes node-list. |
A roll-forward operation was canceled before it successfully completed, and the database or selected table spaces are left in in an inconsistent state. The database or selected table spaces are in restore pending state on the listed members or nodes. If ",..." is displayed at the end of the member or node list, see the administration notification log for the complete list of members or nodes. Note: The member or node numbers provide useful information only in DB2 pureScale environments and partitioned database environments. Otherwise, the information should be ignored. |
Restore the database or selected table spaces on the listed members or nodes. The table spaces that are in restore pending state can be identified on the specified members or nodes by the MON_GET_TABLESPACE table function. In environments other than DB2 pureScale environments, you can also use the db2dart utility. |
SQL4976N |
This command cannot be submitted on a non-catalog node. |
The ROLLFORWARD DATABASE command is only accepted on the catalog node. When the ON DBPARTITIONNUM clause is specifited on the BACKUP DATABASE command, the command is accepted only on the catalog node. |
Submit the command on the catalog node. |
SQL4977N |
Dropped table export directory directory is not valid. |
The export directory path specified on the ROLLFORWARD command is not valid. The export directory path must be a directory in a file system. This directory must be accessible by the instance owner id. |
Resubmit the command with a valid export directory path. |
SQL4978N |
The dropped table can not be accessed. |
The dropped table can not be accessed. This may be due to the table being put into unavailable state because of a LOAD without copy or a NOT LOGGED INITIALLY operation. |
The table can not be recovered using the DROPPED TABLE RECOVERY option. |
SQL4979W |
Unable to export the dropped table data. |
The command was unable to export the data of the dropped table whose recovery is being attempted. This can happen when the dropped table id specified on the ROLLFORWARD command is invalid, or when not all of the logs are available for roll forward. This warning will be generated when an error occurs during a dropped table recovery using a ROLLFORWARD ... AND STOP command. |
Resubmit the command after ensuring that the dropped table id provided is valid, and that all of the logs are available for roll forward. |
SQL4980N |
Recovery on database name has encountered a corrupt log file log-file on database partition dbpart-num and log stream log-stream-ID. |
A corrupt log file has been encountered during recovery of the database. It is possible that a checksum error occurred on a log page. A checksum error indicates that the information in a log page on disk does not match the information that is expected by DB2. The content of this log page cannot be trusted. |
Possible actions include:
|
SQL4981W |
Data was exported from a dropped table, but the table spaces containing one or more data partitions were not included in the rollforward list. Data for those data partitions will not be present in the export directory. |
The command was unable to export the data of one or more data partitions for the dropped table. This can happen if not every table space over which the partitioned table is defined was included on the ROLLFORWARD command. This may be intentional if you are recovering the data from the partitioned table in several passes to limit the size of the file(s) in the export directory. See the administration notification log for the full list of data partitions whose data was not exported. |
Resubmit the command after ensuring that the table spaces containing the data partitions listed in the administration notification log are included. If recovering only the previously skipped data partitions, specify a different export file path to avoid overwriting the existing export file(s). |
SQL4990N |
A maximum number of number literals is supported in an SQL statement. Each literal can be a maximum of value bytes in length. |
The COBOL precompiler only supports a maximum number of number literals in an SQL statement. Each literal can be a maximum of value bytes in length. A literal represents any input element that is not a host variable (that is, string constant, delimited identifier, non-delimited identifier). The statement cannot be processed. |
Reduce the number of literals present in the SQL statement. Ensure that each literal is not greater than value bytes in length. |
SQL4994N |
Precompilation was ended because of a user interrupt request. |
Precompilation was terminated because of an interrupt. The user may have pressed an interrupt key sequence. Processing is terminated. No package was created. |
Resubmit the precompilation if needed. |
SQL4997N |
The authorization ID is not valid. |
The authorization ID for the application was specified previously but it was defined with more than 128 characters or with characters that are not valid for an authorization ID. The authorization ID must not be PUBLIC (public) and it must not begin with SYS (sys), IBM (ibm), or SQL (sql). Also, it must not contain the underscore character or any characters outside the database manager base character set. The function cannot be processed. |
Retry the application with a valid authorization ID. |
SQL4998C |
The application state is in error; the database connection has been lost. |
The connection to the database has been lost. The function cannot be processed. |
Reconnect to the database. |
SQL4999N |
A Precompiler Services or Run-time Services error occurred. |
A database manager error occurred that prevents Precompiler Services or Run-Time Services from processing function calls. No Precompiler Services or Run-Time Services function calls can be processed. |
Record the message number (SQLCODE) and all error information from the SQLCA if possible. If trace was active,
invoke the Independent Trace Facility at the operating system command prompt.
|