SQL2000-2999
| SQL Message ID | Message | Explanation | User Response |
|---|---|---|---|
|
SQL2000N |
The drive specified in the utility command is not a valid diskette drive or fixed disk. |
The input or output drive specified in the utility command does not exist. The utility stops processing. |
Resubmit the utility command with the correct drive specifier. |
|
SQL2001N |
The utility was interrupted. The output data may be incomplete. |
The user may have pressed the interrupt key sequence, or had called the utility with a terminate caller action. This message can also be returned during a backup or restore operation on a database node when the database catalog node is down. The utility stops processing. |
Restart the application or reissue the command, if needed. The output data from the interrupted command may be incomplete, and should not be used. |
|
SQL2002N |
The specified database utility command is not valid for remote databases. The database specified in the command must reside on your local workstation. |
The database utility command is only valid for local databases. The utility stops processing. |
Run the utility locally. |
|
SQL2003C |
A system error occurred. |
An operating system error occurred. The return code can be found in the SQLERRD[0] field of the SQLCA. The utility stops processing. |
Look at the error return code in the SQLERRD[0] field of the SQLCA. Correct the error, if possible, and resubmit the command. |
|
SQL2004N |
An SQL error sqlcode occurred during processing. |
The utility was using an SQL statement when an error occurred. The utility stops processing. |
Look at the SQLCODE (message number) in the message for more information. Make changes and resubmit the command. |
|
SQL2005C |
An I/O error occurred during a read operation. The data may be incomplete. |
Incomplete data was read during an I/O operation. The utility stops processing. |
Determine if the I/O error can be corrected and resubmit the command. |
|
SQL2006C |
An I/O error occurred during a write operation. The data may be incomplete. |
Incomplete data was written during an I/O operation. The utility stops processing. |
Determine if the I/O error can be corrected and resubmit the command. |
|
SQL2007N |
Specified buffersize of buffersize 4K buffers is too small for pagesize page size object. |
To backup a pagesize page size database object one needs a buffer larger than the page size. When backing up a database the data is first copied to an internal buffer. Data is then written from this buffer to the backup media when the buffer is full. The buffersize of buffersize 4K buffers that was specified is inadequate. |
Use a larger buffersize. |
|
SQL2008N |
The utility command could not be processed because the callerac parameter is not within valid range or the requested action is out of sequence. |
Each utility has its own list of valid callerac values. This message can be returned for one of the following reasons:
|
Resubmit the command with a valid callerac parameter for the utility. |
|
SQL2009C |
A backup or restore failed due to inadequate memory resources. |
This problem can occur in the following situations:
|
To resolve all possible cases described in this message's Explanation, re-issue the command, invoking the autonomic mode by NOT specifying the following parameters: If you prefer to specify parameters explicitly, appropriate actions for each case are:
|
|
SQL2010N |
The utility encountered an error error while connecting to the database. |
The utility could not connect to the database. The utility stops processing. |
Look at the error number in the message for more information. Make changes and resubmit the command. |
|
SQL2011N |
The utility encountered an error error while disconnecting from the database. |
The utility could not disconnect from the database. The utility stops processing. |
Look at the error number in the message for more information. Make changes and resubmit the command. |
|
SQL2012N |
Interrupt handling could not be enabled. |
The utility could not enable interrupt handling. The actual return code can be found in the SQLERRD[0] field of the SQLCA. The utility stops processing. |
Look at the error return code in the SQLERRD[0] field of the SQLCA. Correct the error, if possible, and resubmit the command. |
|
SQL2013N |
The utility could not access the database directory. Error error was returned. |
An error occurred while the utility was accessing the database directory. The utility stops processing. |
If the path in the database parameter is not the database directory path, resubmit the command with the correct path. Otherwise, look at the error number in the message for more information. Make changes and resubmit the command. |
|
SQL2014N |
A database environment error occurred. |
The utility received an error from a database environment command. The database manager configuration file and the database configuration file may contain incompatible values. The utility stops processing. |
Check the database manager configuration file and the database configuration file for inconsistent values. Resubmit the command. |
|
SQL2015N |
The database parameter is not valid. The database name is too long, it was not specified, or the address of the name is not valid. |
The database name is required. It must contain 1 to 8 characters and the characters must be chosen from the database manager base character set. The name must be located at a valid address for the application. The utility stops processing. |
Resubmit the command with a valid database name. |
|
SQL2016C |
The PATH command does not contain a path to program-name. |
The utility could not find the required program using the operating system Select Path. The utility stops processing. |
Update the PATH command to include the path to the indicated program name. |
|
SQL2017N |
Too many sessions are already started or OS/2 Start Session did not complete successfully. |
The BACKUP or RESTORE utility could not start the new session because:
The utility stops processing. |
Wait until some of the current sessions stop processing and resubmit the command. Or, see the SQLERRD[0] field in the SQLCA for more information and resubmit the command. |
|
SQL2018N |
The utility encountered an error error while attempting to verify the user's authorization ID or database authorizations. |
The user attempted to execute a utility and one of the following has occurred:
The utility stops processing. |
Look at the error number in the message for more information. Make changes and resubmit the command. |
|
SQL2019N |
An error occurred while utilities were being bound to the database. |
Because the current level of the utility being executed was not bound to the database, the system attempted to bind all utilities to the database, and this binding process failed. Possible causes for the error include the following situations:
For the RESTORE utility, the database is restored, but at least one utility is not bound to the database. The other utilities stop processing. |
Complete all activities that might be competing for system resources, and resubmit the utility command. If the error continues, perform one of the following actions:
|
|
SQL2020N |
The utility is not bound to the database correctly. |
All the utilities were rebound to the database because the utility was not bound to the database or the package of the utility that was bound to the database was not compatible with the installed version of the database manager, but there is still a timestamp conflict between the installed version of the database manager and the package so the utility and bind file are not compatible. The utility stops processing. |
Reinstall the database manager or reapply any recent updates or do both. Resubmit the utility command. |
|
SQL2021N |
The correct diskette is not in the drive. |
The diskette to be used for Backup Database or for Restore Database is not in the drive or is not valid. The command cannot be processed. |
Verify that the correct diskette is in the drive or insert a new diskette. |
|
SQL2023N |
The utility encountered an I/O error code while accessing the log control file. |
There are two log control files:
The database manager received a read or write error while accessing the primary log control file. The utility stops processing. |
Record the error return code value. Determine whether the I/O error can be corrected. |
|
SQL2024N |
The utility encountered an I/O error code while accessing the file type file-type. |
An I/O error occurred while accessing the specified file. A file with the extension “.BRG” is used to determine whether a RESTORE operation has terminated abnormally. The file resides in the local database directory of the database for which the RESTORE operation was attempted. A file with the extension “.BRI” stores information about the progress of an incremental RESTORE operation. The file resides in the local database directory of the database for which the RESTORE INCREMENTAL operation was attempted. The file name consists of the database token concatenated with the file type extension. For example, if the database “SAMPLE” is assigned the database token “SQL00001”, the BRI file will have the name “instance/NODE0000/sqldbdir/SQL00001.BRI”. The utility stops processing. |
Record the error return code. Determine whether the I/O error can be corrected. |
|
SQL2025N |
An I/O error occurred. Error code: code. Media on which this error occurred: dir_or_devices. |
An I/O error occurred while accessing a file on the specified media. The utility or operation stopped processing. If media is "TSM", there is a problem related to IBM Tivoli Storage Manager. A common TSM-related problem is time-out of a TSM session due to an inadequate COMMTIMEOUT setting. |
|
|
SQL2026N |
An error sqlcode occurred while trying to internally disconnect from the database. |
The internal disconnect command failed. The SQLCODE is returned in the message. The utility stops processing. |
Look at the SQLCODE (message number) in the message for more information. Make changes and resubmit the command. |
|
SQL2027N |
An error sqlcode occurred while trying to internally connect to the database. |
The internal connection failed. The SQLCODE is returned in the message. The database manager configuration file and the database configuration file may contain incompatible values. The utility stops processing. |
Look at the SQLCODE (message number) in the message for more information. Make changes and resubmit the command. Check that the database manager configuration file values and the backup image's database configuration file values are compatible. |
|
SQL2028N |
Error sqlcode occurred while installing the interrupt handler. |
The utility could not enable the interrupt handler. The SQLCODE is returned in the message. The utility stops processing. |
Look at the SQLCODE (message number) in the message for more information. Make changes and resubmit the command. |
|
SQL2029N |
An error error occurred while command-file-name was processing. |
An error was returned from either the specified command file, or from the operating system. |
The user has either requested a |
|
SQL2030N |
The name drive is full. At least number free bytes are needed on this drive. |
The specified drive does not have enough space for creating an internal subdirectory and information file. The utility stops processing. |
Free the indicated space on the specified drive and resubmit the command. |
|
SQL2031W |
Warning! Please mount the target or source media on device device. |
A database utility process either writes data to or reads data from the media on the specified device. The utility returns so that the user may mount the correct media for the operation. The utility waits for a response to continue. |
Mount the media and return to the utility with the callerac parameter indicating if processing continues or ends. |
|
SQL2032N |
The parameter parameter is not valid. |
The parameter is incorrectly specified. Either the value is out of range or is incorrect. |
Resubmit the command with a correct value for the parameter. sqlcode: -2032 sqlstate: 22531 |
|
SQL2033N |
An error occurred while accessing TSM during the processing of a database utility. TSM reason code: reason-code. |
Some common TSM reason codes are:
The utility stops processing. |
Responses for common TSM problems are:
|
|
SQL2034N |
The address of the parm parameter is not valid. |
The application program used an address that is not valid for this parameter. Either the address points to an unallocated buffer or the character string in the buffer does not have a null terminator. |
Ensure that a valid address is used in the application program and the input string is null terminated. |
|
SQL2035N |
The warning condition warn was encountered while executing the utility in non-interrupt mode. |
The calling application invoked the utility with no interrupt mode. During the operation a warning condition was encountered. |
Resubmit the operation without specifying the no interrupt condition in the callerac parameter or take actions to prevent the warning and resubmit the operation. |
|
SQL2036N |
The path for the file, named pipe, or device path/device is not valid. |
The application calling the utility has supplied a source or target path that is not valid. The path, file, named pipe, or device specified may not exist or is incorrectly specified. |
Reissue the utility command with a path that represents a correct path or device. |
|
SQL2037N |
TSM could not be loaded. |
A call to a database utility specified TSM as the target or source of the backup. An attempt was made to load the TSM client. Either the TSM client is not available on the system or an error was encountered in the load procedure. |
Ensure that the system has TSM available. Resubmit the command after TSM is made available, or resubmit the command without utilizing TSM. |
|
SQL2038N |
A database system error errcode occurred during processing. |
A database system error was encountered during the processing of one of the utilities. |
|
|
SQL2039N |
The application calling the utility has terminated. |
The application calling the utility has terminated. The application side of the utility is in the same process as the calling application and terminates with the application. The agent side of the utility terminates as a result. |
Reissue the command after determining why the application terminated. |
|
SQL2040N |
The database alias parameter dbalias is not valid or not specified. |
The application calling the Backup or Restore utility has supplied a database alias parameter that is not valid. The alias must be 1 to 8 bytes and the characters must be chosen from the database manager base character set. |
Reissue the Backup or Restore command with a valid database alias. |
|
SQL2041N |
The buffer size parameter specified is not valid. The buffer size must be specified as 0 or be between 8 and 16384 inclusive. |
The application calling the utility has supplied a buffer size parameter that is not valid. The buffer size is used to determine the internal buffer size. The value is the number of 4K pages that are obtained for this buffer. The value must be specified as 0 or be between 8 and 16384 inclusive. When running the backup or restore utility, if 0 is specified, the default buffer size defined in the database manager configuration is used. If the target media is a diskette, the buffer size must be smaller than the diskette size. |
|
|
SQL2042W |
Warning! I/O error error accessing device device. Additional information (if available): additional-information. Please ensure media is mounted and positioned correctly. |
The application calling the utility has encountered an I/O error while trying to read or write to the tape device. The utility returns so that the user may correctly mount and position the tape. The message may contain additional information to help diagnose the problem. The utility waits for a response to continue. |
Correctly mount and position the tape and return to the utility indicating if processing continues or ends. The error, device and the additional information (if present) can be used to diagnose and correct the problem. |
|
SQL2043N |
Unable to start a child process or thread. |
Unable to start up the child processes or threads required during the processing of a database utility. There may not be enough available memory to create the new process or thread. The utility stops processing. |
Ensure the system limit for number of processes or threads has not been reached (either increase the limit or reduce the number of processes or threads already running). Ensure that there is sufficient memory for the new process or thread. Resubmit the utility command. |
|
SQL2044N |
An error occurred while accessing a message queue. Reason code: reason-code. |
An unexpected error or bad message was received on one of the operating system message queues during the processing of a database utility. The reason code indicates more specifically what the problem was:
|
Respond to this message in one or more of the following ways:
|
|
SQL2045W |
Warning! Error error occurred while writing to media media. |
A database utility process encountered error error returned by the operating system while writing to the media media. The utility returns so that the user may attempt to fix the problem or cancel the operation. The utility waits for a response to continue. |
Consult the troubleshooting documentation for your operating system and correct the error condition. Return to the utility with the correct caller action parameter to indicate if processing should continue or terminate. |
|
SQL2046N |
The configuration parameter named parameter-name could not be updated because the operation timed out. |
The cluster caching facility (CF) is an instance-level designation that provides several services that are key to the operation of a DB2 pureScale environment. The CF structure contains information about elements of the DB2 pureScale instance, including information about each database in the DB2 pureScale instance. The CF structure memory parameters are configurable online and accept resize requests during runtime. Resize requests for structure memory parameters such as CF_GBP_SZ, CF_SCA_SZ, and CF_LOCK_SZ are collectively bound by the memory limit set for CF_DB_MEM_SZ. An update operation for a structure memory parameter must be completed within a time limit. This message is returned when the operation has exceeded that time limit. The operation has not completed. |
View the total memory allocated for the CF structures using the GET DB CFG command with the SHOW DETAIL clause. Together, the structure memory parameters cannot exceed the value of the parameter CF_DB_MEM_SZ. Set the value of parameter-name to a value that adheres to the relationships defined between all CF structure memory parameters, as recommended in the documentation. sqlcode: -2046 sqlstate: 5U050 |
|
SQL2047N |
There is not enough available memory in the CF to satisfy the request to increase the database configuration parameter named parameter-name to the specified value. |
The cluster caching facility (CF) is an instance-level designation that provides several services that are key to the operation of a DB2 pureScale environment. Structures within the CF contain elements that are critical to the operation of each database in a DB2 pureScale instance. Overall CF memory is limited by the database manager configuration parameter named CF_MEM_SZ. CF memory available for each database is limited by the database configuration parameter named CF_DB_MEM_SZ. Note CF_DB_MEM_SZ is an upper limit only and its memory is not reserved. The available CF memory can be consumed by other active databases (if supported) or for internal CF purposes. This message is returned when an attempt is made to set parameter-name to a value that exceeds the amount of memory that is available for CF_MEM_SZ or CF_DB_MEM_SZ. |
View the total memory available for the CF structures using the GET DB CFG command with the SHOW DETAIL clause. The parameter that indicates the amount of memory available for the entire CF is named CF_MEM_SZ. The parameter that indicates the amount of memory available for all CF structures is named CF_DB_MEM_SZ. Set the value of parameter-name to a smaller value. sqlcode: -2047 sqlstate: 5U051 |
|
SQL2048N |
An error occurred while accessing object object. Reason code: reason-code. |
An error occurred while accessing an object during the processing of a database utility. The following is a list of reason codes:
The utility stops processing. |
|
|
SQL2049N |
Database activation failed because there is insufficient CF memory. Reason code = reason-code. |
During database activation, the database manager allocates memory for the structures inside the cluster caching facility (CF) as determined by database manager configuration parameters, database configuration parameters, and DB2 registry variables, including the following parameters and variables:
Note that use of the DB2_DATABASE_CF_MEMORY registry variable must be coordinated with the CF_DB_MEM_SZ database configuration parameter and the NUMDB database manager configuration parameter.
This message is returned when there is not enough memory allocated for the CF to accommodate the memory allocations for the structures inside the CF for one or more databases. The reason code indicates which aspect of the CF memory allocation was the problem:
|
Respond to this message in one or more of the following ways: General:
For reason codes 1 - 4:
For reason codes 4 and 5:
|
|
SQL2051N |
There was a communication failure between a DB2 member and a CF. Reason code = reason-code. CF identifier: CF-id. Host name: host-name. |
This message is returned when the database manager detects problems that interfere with communications between a DB2 member and cluster caching facility (CF). The nature of the communication problem is indicated by the reason code:
|
Refer to the troubleshooting documentation. |
|
SQL2052N |
The backup operation failed because the backup utility was unable to collect the required information and metadata for one or more DB2 members. |
In a DB2 pureScale environment, when you perform a backup operation from a DB2 member, the backup utility must collect recovery metadata for all other DB2 members in the instance. This message is returned when the backup utility cannot collect the metadata information for one or more members. The backup utility might be unable to carry out the serialization that is necessary to process the metadata. |
sqlcode: -2052 sqlstate: 5U055 |
|
SQL2054N |
The backup or copy image is corrupted. |
The backup or copy image in use is corrupted This can also mean that the Restore utility determined that a compressed image was not decompressed correctly. The utility stops processing. |
Discard the image as it is not a valid image. Resubmit the utility command with a valid image. |
|
SQL2055N |
Unable to access memory from memory set memory-heap. |
A database utility was unable to access memory during processing. The utility stops processing. |
Stop the database manager, then restart it and resubmit the utility command. |
|
SQL2056N |
An invalid media type was encountered on media media. |
An invalid media type was encountered during the processing of a database utility. The utility stops processing. |
Ensure the media used is among of the types supported by the utility. Resubmit the command with a valid media list. |
|
SQL2057N |
The media media is already opened by another process. |
The source or target media specified during the processing of a database utility is already open by another process. The utility does not allow shared access for the operation. The utility stops processing. |
Ensure the media used is not in use currently. Resubmit the command with a valid media list. |
|
SQL2058W |
An end-of-media warning was encountered on media media. |
An end-of-media warning was encountered during the processing of a database utility. This error can also occur if an invalid tape device block size was specified. The utility is waiting for a response to continue. |
Correct the end-of-media condition and return to the utility with the correct caller action parameter to indicate if processing should continue or terminate. The tape device block size (or blocking factor) used at restore time must be the same as that used during the backup. If a variable block size is used, then the buffer size used must be less than or equal to the maximum block size of the tape device. |
|
SQL2059W |
A device full warning was encountered on device device. |
An device full warning was encountered during the processing of a database utility. The utility is waiting for a response to continue. |
Correct the device full condition and return to the utility with the correct caller action parameter to indicate if processing should continue or terminate. |
|
SQL2060W |
The device device is empty. |
An empty device was encountered during the processing of a database utility. The utility is waiting for a response to continue. |
Mount the media and return to the utility with the caller action parameter to indicate if processing should continue or terminate. |
|
SQL2061N |
An attempt to access media media is denied. |
An attempt to access a device, file, named pipe, TSM or the vendor shared library is denied during the processing of a database utility. The utility stops processing. |
Ensure the device, file, named pipe, TSM or vendor shared library used by the utility allows the access requested and resubmit the utility command. |
|
SQL2062N |
An error occurred while accessing media media. Reason code: reason-code. |
An unexpected error occurred while accessing a device, file, or the vendor shared library during the processing of a database utility. The following is a list of reason codes:
Other reason codes refer to vendor api codes. The utility stops processing. |
Ensure the device, file, or vendor shared library used by the utility is available and resubmit the utility command. If the command is still unsuccessful, contact your technical service representative. For other reason codes, consult the appropriate vendor documentation for further details on the code. |
|
SQL2065W |
Caller action caller-action specified is not allowed when the media media specified is the only one left connected to the utility. |
The caller action specified is not allowed because there is only one device left connected to the database utility. |
Return to the utility with the correct caller action parameter to indicate if processing should continue or terminate. |
|
SQL2066N |
The command failed because the specified table space either does not exist or is not supported with the specified command. Specified table space name: name. |
The table space name specified is syntactically correct, but it does not exist in the database or cannot be used in the specified utility operation. A table space might be disallowed for many reasons, including the following examples:
|
Resubmit the utility command, specifying a valid table space. |
|
SQL2068N |
An invalid image was encountered on media media. There was no media header. |
An invalid image was encountered during the processing of a database utility. The utility was not able to locate a valid media header. The utility stops processing. |
Resubmit the command with correct backup or copy images. |
|
SQL2069N |
An invalid image was encountered on media media. The image was created for database alias dbalias. |
An invalid image was encountered during the processing of a database utility. The image provided was from a different database alias. The utility stops processing. |
Resubmit the command with correct backup or copy images. |
|
SQL2070N |
An invalid image was encountered on media media. The image contained timestamp timestamp. |
An invalid image was encountered during the processing of a database utility. The image provided was from a backup or copy with a different timestamp. The utility stops processing. |
Resubmit the command with correct backup or copy images. |
|
SQL2071N |
An error occurred while accessing the shared library shared-library-name. Reason code: reason-code. |
An unexpected error occurred while accessing a vendor shared library during the processing of a database utility. The reason code indicates more specifically the nature of the problem:
|
Responses by reason code:
|
|
SQL2072N |
Unable to bind the shared library shr-lib-name. Reason code: reason-code. |
An error was encountered while binding the shared library during the processing of a database utility. The utility stops processing. |
Note the reason code returned from the vendor utility in the message and take corrective action if possible. Resubmit the command with a valid shared library or using another supported media. |
|
SQL2073N |
DATALINK processing failed because of internal problems at the database server or DB2 Data Links Manager. |
An unexpected error occurred while processing DATALINK values. |
Resubmit the command. If the problem still exists, resubmit the command after shutdown and restart of the database manager and the DB2 Data Links Managers. The Restore utility can avoid DATALINK processing by specifying WITHOUT DATALINK. |
|
SQL2074N |
DATALINK processing failed because of internal problems at the database server. |
An unexpected error occurred while processing DATALINK values. |
Resubmit the command. If the problem still exists, resubmit the command after shutdown and restart of DB2. The Restore utility can avoid DATALINK processing by specifying WITHOUT DATALINK. |
|
SQL2075N |
DATALINK processing failed because of internal problems at the DB2 Data Links Manager. |
An unexpected error occurred while processing DATALINK values. |
Resubmit the command. If the problem still exists, resubmit the command after shutdown and restart of the DB2 Data Links Managers. The Restore utility can avoid DATALINK processing by specifying WITHOUT DATALINK. |
|
SQL2076W |
The DB2 Data Links Manager server-name was not registered to the database. |
The DB2 Data Links Manager server-name was not registered to the database with the ADD DATALINKS MANAGER command. |
For details on why the ADD DATALINKS MANAGER command failed, check the administration notification log. |
|
SQL2077W |
Reconcile processing completed successfully on Data Links Managers that were available. Reconcile processing is pending on Data Links Managers that were not available. Examine the administration notification log for more information. |
Some or all of the Data Links Managers referred to in the table data were not available during reconcile processing. Reconcile processing completed successfully on Data Links Managers that were available. The table is placed in DataLink Reconcile Pending (DRP) state, because reconcile processing is pending on Data Links Managers that were not available. |
The table will be taken out of DataLink Reconcile Pending state when reconcile is completed successfully on all Data Links Managers referred to in the table data. Bring up the Data Links Managers that were not available and run reconcile again. |
|
SQL2078N |
The DB2 Data Links Manager could not be added or dropped successfully. Reason code = reason-code. |
The DB2 Data Links Manager could not be added or dropped, as indicated by the one of the following reason codes:
|
The action depends on the reason code as follows:
|
|
SQL2079N |
An error was reported by the shared library shr-lib-name. Return code: return-code. |
An error was reported from a vendor shared library during the processing of a database utility. The return code displayed corresponds to one of the valid vendor API return codes. The utility stops processing. Possible API return codes are:
|
Ensure the shared library provided is valid. Attempt to make the necessary corrective actions based on the vendor API return code and the corresponding db2diag log file entry and resubmit the utility command. |
|
SQL2080N |
A snapshot backup failed. The database being backed up is not unique within its volume directory. |
A snapshot backup enables you to use fast copying technologies for the data copying and movement parts of backup and restore operations. A snapshot backup was attempted on a database. However, the snapshot backup utilities were unable to uniquely identify all of the elements of the database that are required to be copied because there are one or more other databases cataloged in the same volume directory as the database being backed up. If other databases are cataloged in the same volume directory as a database against which you are trying to run snapshot backup, the backup image might include files from databases other than the one you are trying to back up. If a backup image contains files from multiple databases, you can not successfully use that image to restore any of those databases. You can only run a snapshot backup or restore on a database that is unique in its volume directory. The snapshot backup failed. |
To perform a snapshot backup on a database in a given volume directory that contains multiple databases:
|
|
SQL2081N |
A snapshot restore failed because some element or elements of the database to be restored have the same name as some element or elements of existing databases. Reason code = reason-code. |
A snapshot backup enables you to use fast copying technologies for the data copying and movement parts of DB2 database backup and restore operations. A restore of a database was attempted from a snapshot backup image. However, the snapshot restore utilities were unable to uniquely identify all of the elements of the database that are required to be copied for the reason indicated by the reason-code:
The snapshot restore failed. |
To restore a database from a snapshot backup image to a given target volume directory that contains multiple databases, drop or move any other databases in the target volume directory. To ensure that log directories from a snapshot backup image can be restored, verify that the log directories either do not exist on disk or are empty. Run the RESTORE command again. |
|
SQL2084N |
Only one work action set can be defined for the following database, workload, or service superclass: db-or-ssc-name. |
There is already a work action set defined for the following specified database, workload, or service superclass: db-or-ssc-name. Only one work action set can be defined for any one database, workload, or service superclass at any given time. |
sqlcode: -2084 sqlstate: 5U017 |
|
SQL2085N |
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: -2085 sqlstate: 5U018 |
|
SQL2086N |
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. |
|
SQL2089N |
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: -2089 sqlstate: 5U022 |
|
SQL2090N |
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: -2090 sqlstate: 5U023 |
|
SQL2091N |
The remaining storage paths do not contain enough storage space to rebalance the data in table space tablespace-name. |
A request has been made to rebalance a table space that has containers on one or more storage paths that are being dropped. The data server will drop these containers as part of the rebalance operation. However, the table space must have sufficient space on its remaining paths to accommodate the data moved from the dropped containers. The data server automatically extends existing containers and creates new containers on the remaining paths as necessary, but the remaining paths do not contain enough available storage to house the data to be moved. |
For every table space that you intend to rebalance in this way, determine the number and size of containers that are to be dropped to obtain an estimate of the amount of data that is being moved to the remaining storage paths. At a minimum, the rebalance operation (or operations) requires this amount of free space to succeed. Either increase the amount of free space on the remaining storage paths, or add new storage paths to the database. sqlcode: -2091 sqlstate: 57011 |
|
SQL2092N |
Storage path storage-path is in the drop pending state. The current request cannot be processed. |
One or more of the storage paths are already in the drop pending state. |
Remove the storage paths that are in the drop pending state from the ALTER DATABASE statement or the ALTER STOGROUP statement. Then try the request again. sqlcode: -2092 sqlstate: 55073 |
|
SQL2093N |
The specified storage paths cannot be dropped. At least one storage path must be associated with the storage group. |
A storage group must have at least one storage path associated with it. The ALTER STOGROUP statement is attempting to drop all of the storage paths for the storage group (or the remaining paths that are not already in the drop pending state). |
Modify the ALTER STOGROUP statement so that at least one of the storage paths is not dropped. If all of the storage paths must be dropped, modify the ALTER STOGROUP statement to add one or more new storage paths at the same time. The new storage paths must have enough free space to accommodate the movement of containers and data from the paths being dropped. sqlcode: -2093 sqlstate: 428HH |
|
SQL2094W |
The rebalance of table space tablespace-name either did not add or drop containers, or there was insufficient disk space to create all of the containers. Reason code: reason-code. |
A rebalance operation attempts to drop containers from storage paths in the "drop pending" state, and to create new containers on recently added storage paths. The operation also tries to create containers for stripe sets that do not already include all of the database storage paths. This warning occurred on one or more database partitions as a result of one of the following reason codes:
|
To increase the amount of free space on a storage path either increase the size of the file system or delete non-database data. sqlcode: +2094 sqlstate: 01690 |
|
SQL2095W |
Storage path storage-path is in the drop pending state because one or more automatic storage table spaces reside on the path. |
A request has been made to drop storage path storage-path from the database. Because one or more automatic storage table spaces have containers on this storage path, it cannot be removed immediately and is in the drop pending state. A storage path cannot be removed until all containers on it have been removed. If more than one storage path is being dropped, this message might also apply to the other storage paths. |
Perform one or more of the following tasks to remove containers from the storage path:
sqlcode: +2095 sqlstate: 01691 |
|
SQL2096N |
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: -2096 sqlstate: 5U025 |
|
SQL2097N |
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: -2097 sqlstate: 5U046 |
|
SQL2098N |
Cannot perform requested operation because the requested operation conflicts with objects currently used by or previously produced by schema transport operation. Reason Code: rc |
The requested operation is not compatible with the transport operation. The following reason code indicates the error:
|
Based on the reason code, perform the following actions:
|
|
SQL2101N |
The ADMIN_MOVE_TABLE procedure could not be completed because of an incompatibility with a related database object or configuration. Reason code: reason-code. |
You can use the SYSPROC.ADMIN_MOVE_TABLE procedure to move data from one table space to a another table space. For example, you can migrate that data to a new table space using this procedure. The reason this error was returned is indicated by the reason code:
|
First, respond according to the given reason code:
Then, call the ADMIN_MOVE_TABLE procedure again. sqlcode: -2101 sqlstate: 5UA0M |
|
SQL2102N |
The ADMIN_MOVE_TABLE procedure could not be completed because of an internal failure during the execution of the procedure. Reason code: reason-code. |
You can use the SYSPROC.ADMIN_MOVE_TABLE procedure to move data from one table space to a another table space. For example, you can migrate that data to a new table space using this procedure. The reason this error was returned is indicated by the reason code:
|
Respond according to the given reason code:
sqlcode: -2102 sqlstate: 5UA0M |
|
SQL2103N |
The ADMIN_MOVE_TABLE procedure could not be completed because some aspect of either the source table or target table is not supported by the ADMIN_MOVE_TABLE procedure. Reason code: reason-code. |
You can move data from one table space to a another table space by using the SYSPROC.ADMIN_MOVE_TABLE procedure. This message is returned when the ADMIN_MOVE_TABLE procedure cannot operate on the source table or the target table for the reason indicated by the reason code:
|
Respond according to the given reason code:
sqlcode: -2103 sqlstate: 5UA0M |
|
SQL2104N |
The ADMIN_MOVE_TABLE procedure could not be completed at this time by this user. Reason code: reason-code. |
You can use the SYSPROC.ADMIN_MOVE_TABLE procedure to move data from one table space to a another table space. For example, you can migrate that data to a new automatic storage table space using this procedure. The state of a database object or status of an operation conflicts with the attempted move table operation. The reason this error was returned is indicated by the reason code:
|
Respond according to the given reason code:
sqlcode: -2104 sqlstate: 5UA0M |
|
SQL2105N |
The ADMIN_MOVE_TABLE procedure could not be completed because a prerequisite for running the procedure was not satisfied. Reason code: reason-code. |
You can use the SYSPROC.ADMIN_MOVE_TABLE procedure to move data from one table space to a another table space. For example, you can migrate that data to a new automatic storage table space using this procedure. The ADMIN_MOVE_TABLE procedure requires certain information or objects to exist before it can run successfully. The reason code indicates what was not satisfied:
|
Respond according to the given reason code:
sqlcode: -2105 sqlstate: 5UA0M |
|
SQL2150W |
The table spaces contained in the backup image were restored. Depending on the request of the caller, one or more of these table spaces might have been skipped. |
A RESTORE DATABASE command was issued. The user might have indicated that only a subset of the table spaces in the backup image were to be recovered. |
No action is required. |
|
SQL2154N |
The RESTORE was not successful. The backup used to restore the table space(s) is not associated with the current log sequence for the database. |
For table space restore, the backup must have been taken during the current log sequence of the database. The log file sequence is determined by the database that has been restored previously or the log files that have been processed. In addition, the backup must have been taken after the last time the database was enabled for roll forward recovery. Table space restore has stopped. |
Resubmit the command with a correct backup image. |
|
SQL2155W |
Changes have been made to the recovery history file since the open scan was issued. |
Changes have been made to the recovery history file since the file was open for a scan. The data read may not be consistent. |
If it is essential to have consistent data from the scan, close the recovery history file and resubmit the command. |
|
SQL2157N |
There are already eight recovery history file scans open. |
Eight recovery history file scans in this process are already open. No more than eight open scans are allowed. The command cannot be processed. |
Issue one or more CLOSE RECOVERY HISTORY FILE SCAN commands and resubmit the command. |
|
SQL2160W |
A damaged recovery history file has been replaced. Processing continued. |
An error was encountered during an access to the recovery history file. The utility is able to recover the file from an alternate copy. The utility continues processing. |
The utility continues processing successfully. The user should take appropriate precautions to ensure the recovery history file is not damaged again. |
|
SQL2161N |
A damaged recovery history file could not be fixed. The specified action failed. |
An error was encountered during an access to the recovery history file. The utility is not able to recover the file. The utility stops processing. |
To continue processing, the user may remove the recovery history file and resubmit the command. The utility will regenerate a new file. Any data from the corrupted file are lost. The user may look at the corrupted file to see if any information can be saved. The user should take appropriate precautions to ensure the recovery history file is not damaged again. |
|
SQL2162N |
A recovery operation failed because the database manager does not have permission to access log file log-file-number for database database-name on database partition dbpartitionnum and log stream log-stream-ID. |
The database manager cannot access the specified log file because of the file permission settings. Recovery (rollforward or crash recovery) cannot continue. |
Check the file system where the log files are stored. Ensure that sufficient permission has been given to the instance owner to access these log files, and attempt the recovery operation again. |
|
SQL2163N |
The database manager is unable to locate a backup image in the Recovery History File to recover the database to the given point in time on database partition number partition_number. |
The database manager is unable to locate a backup image in the Recovery History File to recover the database to the given point in time. This error may occur when the History File has been pruned. |
Try specifying a later point in time. If end of logs is specified, ensure that the History File includes a record of backup events. |
|
SQL2164N |
The RECOVER utility was unable to find the specified recovery history file filename on database partition number partition_number. |
The recovery history file specified for the RECOVER command was not found. |
Verify the file name and resubmit the command. |
|
SQL2165W |
The number of table spaces that are stored in a history file record exceeds the number of allocated table spaces in the poTablespace field of the db2HistoryData data structure. |
The value of the iNumTablespaces field in db2HistoryData is less than the number of table spaces in the history file record being fetched. The table space data has been truncated to the value of iNumTablespaces. |
Increase the memory allocation of poTablespace to allow for more table spaces, and update the value of iNumTablespaces to the corresponding higher number. The number of table spaces that is represented by the value of the oMaxTablespaces field in the db2HistoryOpenStruct data structure (returned by the db2HistoryOpenScan API) is guaranteed to be sufficient to read any entry in the history file. |
|
SQL2166N |
RECOVER command failed because the database database does not exist. |
The RECOVER command relies on a recovery history file to determine which backup image and log files are needed to recover the database. The database manager was unable to locate the recovery history file because the specified database does not exist. |
Ensure that the specified database name is correct or use the USING HISTORY FILE clause of the RECOVER command to specify a recover history file for the database. |
|
SQL2167W |
The number of log streams that are stored in a history file record exceeds the number of allocated log streams that were passed into the function. |
The value of the ioLogRange.iNumLogStreams field in the db2HistoryData data structure is less than the number of log streams in the history file record being fetched. The log stream data has been truncated to the value of ioLogRange.iNumLogStreams. |
Increase the memory allocation of ioLogRange.oStream to allow for more log streams, and update the value of ioLogRange.iNumLogStreams to the corresponding higher number. The number of log streams that is represented by the value of the oMaxLogStreams field in the db2HistoryOpenStruct data structure (returned by the db2HistoryOpenScan API) is guaranteed to be sufficient to read any entry in the history file. |
|
SQL2170N |
The utility encountered entries with the same identifier in the recovery history file. Write fails. |
The utility has encountered an entry with the same identifier (timestamp to the second) in the recovery history file while writing to it. The write to the recovery history file terminates. Database manager ensures the uniqueness of the recovery history file identifiers and makes provisions for it even if there are more than one request per second. However, there may be cases where it will fail if numerous requests come in within a few seconds. |
If the applications are running utilities (such as backup, quiesce, load) that generate numerous entries to the history file, try to pace the utility requests to prevent the problem. |
|
SQL2171N |
The update of the recovery history file failed because the specified object part does not exist in the file. |
The entry specified to be updated in the recovery history file does not exist in the file. The utility stops processing. |
Resubmit the command with a valid entry. |
|
SQL2172W |
The utility has completed but it is not able to log the event in the recovery history file due to error error. |
The utility has encountered an error writing to the recovery history file. This warning does not affect processing. |
Correct the error condition to prevent future warnings. |
|
SQL2180N |
Incorrect syntax or incorrect password key used in filtering specification. |
The filtering specification provided uses one or both of incorrect syntax or an incorrect password key. |
Save the diagnostic information. Contact IBM service. |
|
SQL2181N |
An internal error occurred during filtered recovery. |
An internal error occurred during filtered recovery. Recovery is terminated. |
If the error was on an attempt to change the state for a table, try filtering out the full tablespace. Save the diagnostic information. Contact IBM service. |
|
SQL2200N |
The qualifier for the table or index name is too long. |
The authid must be 1 to 128 bytes in length. The utility stops processing. |
Resubmit the command with the correct qualifier. |
|
SQL2203N |
The tablename parameter is not valid. Either the table name is too long, only an authorization ID was specified, the table name was not specified, or the address of the name is not valid. |
The table name is required and it must be 1 to 128 characters in length (bytes in MBCS environments). The table name must be located at a valid application address. The utility stops processing. |
Resubmit the command with the correct table name. |
|
SQL2204N |
The iname parameter is not valid. The name of the index is too long, only an authorization ID was specified, or the address of the index is not valid. |
If an index is specified, the name must be 1 to 128 bytes in length. The index must be located at a valid application address. The utility stops processing. |
Resubmit the command with a valid index name. |
|
SQL2205N |
The requested operation failed because the specified index is not valid. Reason code: reason-code. |
The specified index parameter is not valid for the requested operation. Following is a list of reason codes:
Federated system users: this situation can also be detected by the data source. The utility or operation stops processing. |
Resubmit the command with a valid index or without an index if applicable. |
|
SQL2207N |
The filepath specified by the datafile parameter is not valid. |
The datafile parameter is not any of the values that indicate the default filepath. Also the datafile parameter is not a valid non-default value. One of the following may apply:
The utility stops processing. |
Resubmit the command with a valid datafile parameter. |
|
SQL2208N |
The table space tablespace-name specified by the table space or long table space parameter is not valid. |
The table space or long table space parameter does not contain a valid value. One of the following conditions may exist:
The utility stops processing. |
Resubmit the command with a valid table space or long table space parameter or do not use these parameters. In the latter case, the Reorganize Table utility will use the table space(s) in which the table itself resides. |
|
SQL2211N |
The specified table does not exist. |
The table does not exist in the database. Either the table name or the authorization ID is incorrect. The command cannot be processed. |
Resubmit the command with a valid table name. |
|
SQL2212N |
The specified table is a view. The Reorganize Table utility cannot be run against a view. |
The Reorganize Table utility cannot be run against a view. The utility stops processing. |
Resubmit the command with a valid table name. |
|
SQL2213N |
The specified table space is not a system temporary table space. |
The REORG utility requires that any table space specified is a system temporary table space. The table space name provided is not a table space defined to hold system temporary tables. The utility stops processing. |
Resubmit the command with the name of a system temporary table space or do not use the table space name parameter. In the latter case, the REORG utility will use the table space(s) in which the table itself resides. |
|
SQL2214N |
This user ID does not have the authority to run the REORG utility on table name. |
An attempt was made to reorganize the specified table or its indexes without the appropriate authorization. Appropriate authorization is the CONTROL privilege on the table or one of the following authorities: SYSADM, SYSCTRL, SYSMAINT, DBADM, or SQLADM. The utility stops processing. |
Log on as a user with the appropriate authority or privilege, and resubmit the REORG utility command. |
|
SQL2215N |
SQL error sqlcode occurred while committing previous work for the database. |
The user was already connected to the database specified in the Reorganize Table command. An error occurred while committing the previous work in progress for the database. The utility stops processing with no attempt to roll back the work or break the database connection. |
Look at the SQLCODE (message number) in the message for more information. Make changes and resubmit the command. |
|
SQL2216N |
SQL error sqlcode occurred while reorganizing a database table or its indexes. |
An error occurred during the reorganization of a database table or its indexes. The utility stops processing. |
Look at the SQLCODE (message number) in the message for more information. Make changes and resubmit the command. |
|
SQL2217N |
The page size of the system temporary table space used by the REORG utility must match the page size of the table space(s) in which the table data resides (including the LONG or LOB column data). The cause is based on the following reason codes reason-code. |
Following is a list of reason codes:
If the system temporary table was explicitly specified to the REORG utility then the page size of the system temporary table space used by the REORG utility must match the page size of the table space or table spaces in which the table data, including LONG or LOB column data, resides, or else an appropriate container for long data must be specified. One of the following has violated this restriction:
If the system temporary table space or LONG temporary table space was not specified to the REORG utility then the utility was looking internally for a system temporary table space. A system temporary table space that uses the same page size as the table data either did not exist in the database or was not available at the time. |
If a system temporary table space that uses the same page size as the table data does not exist in the database, please create a system temporary table space using a page size that matches the page size of the table data. If the page size of the table data differs from that of the LOB or LONG data, ensure a system temporary tablespace using that page size also exists. If a system temporary table space that uses the same page size as the table data exists in the database but was not available at the time of your command, please reissue the command when the system temporary table space is available. |
|
SQL2218N |
One or more parameters specified for the REORG utility is incompatible. | ||
|
SQL2219N |
The inplace table reorganization failed on one or more members. Table name: table-name. Reason code: reason-code. |
You can reclaim unused space and improve the performance of queries that have begun to run slowly as a result of a high volume of changes to table data by reorganizing tables. You can reorganize a table by issuing the REORG TABLE command. You can perform an inplace (online) table reorganization, which allows users and applications full access to data in the table during reorganization, by specifying the INPLACE parameter with the REORG TABLE commmand. This message is returned when an inplace table reorganization fails because of incompatible parameters, a function sequence error, or a restriction on inplace reorganization functionality. The reason code identifies the specific error:
|
Respond to this error according to the reason code:
|
|
SQL2220W |
The compression dictionary was not built for one or more data objects. |
A compression dictionary could not be built for one or more data object. The object(s) either contained no records, or contained no records larger than the minimum record length to be eligible for this page size. A new dictionary was not built. The operation continued to completion. If there was a dictionary prior to the operation, the dictionary is retained and the rows were subject to compression. |
Refer to the Administration Log to determine which data object(s) caused the warning. |
|
SQL2221N |
The REORG command failed because the specified table table-name is incompatible with the request to reclaim extents. |
If the REORG TABLE RECLAIM EXTENTS command was issued, the specified table name is only supported when the table is a multidimensional clustered (MDC) or insert time clustering (ITC) table and the MDC or ITC table is in a database managed space (DMS) table space. If the REORG INDEXES ALL command with the RECLAIM EXTENTS option was issued, the indexes for the specified table name must be in a database managed space (DMS) table space. |
Do one of the following:
sqlcode: -2221 sqlstate: 5U044 |
|
SQL2222N |
The specified data partition data-partition-name is not valid. Reason code: reason-code |
The specified data partition name is not valid for the request as indicated by the following reason code:
|
Based on the reason code listed in the message, perform the following actions.
|
|
SQL2223N |
REORG SYNOPSIS FOR TABLE table-name REBUILD has failed with error code original-sqlcode. The synopsis table is not in a usable state. Check db2diag.log for error(s) that caused the command to fail, and re-issue the command. |
Rebuild synopsis table has failed. The base table can still be queried. But performance of queries referencing the base table might be suboptimal. |
Check db2diag.log for error(s). Search for the SQLCODE of this message, and the SQLCODE mentioned in the message. If the SQLCODE mentioned in the message is -901 or -902, contact IBM Support. Otherwise correct the error(s) and re-issue the command. sqlcode: -2223 sqlstate: 55019 |
|
SQL2224N |
The synopsis table for the specified table does not exist. |
The synopsis table for the specified table does not exist in the database. A table might not have a synopsis table due to the table definition. The command cannot be processed. |
No further action is required. sqlcode: -2224 sqlstate: 55019 |
|
SQL2300N |
The identifier for the table name is too long or it was not specified as part of the table name. |
The table name must be fully qualified. The format is authid.tablename where authid contains 1 to 128 bytes and tablename contains 1 to 128 bytes in. The utility stops processing. |
Resubmit the command with the fully qualified table name, including the correct qualifier. |
|
SQL2301N |
The tablename parameter is not valid. Either it is too long, only an authorization ID was specified, or the address of the name is not valid. |
The table name must be fully qualified and in the format authid.name where authid contains 1 to 128 bytes and name contains 1 to 128 bytes and must be located at a valid application address. The utility stops processing. |
Resubmit the command with the correct table name. |
|
SQL2302N |
The index list is not valid. Either the address for the list is not valid, the number of entries in the list is less than the number of indexes specified, or the address for an index in the list is not valid. |
The address for the list is not valid, the number of entries in the list is less than the number of indexes specified, or the address for an index in the list is not valid. The utility stops processing. |
Resubmit the command with a valid index list. |
|
SQL2303N |
The statsopt parameter is not valid. |
The statsopt parameter in the Run Statistics command must be one of the following:
The utility stops processing. |
Resubmit the command with a valid statsopt parameter. |
|
SQL2304N |
The sharelev parameter is not valid. It must be 'R' for reference or 'C' for change. |
The sharelev parameter in the RUN STATISTICS command must be R for reference or C for change. The utility stops processing. |
Resubmit the command with a valid sharelev parameter. |
|
SQL2305N |
The table specified is a view or nickname. The utility cannot be run against a view or nickname. |
The tname parameter specified a view or nickname rather than a table. The utility stops processing. |
Resubmit the command with a valid tname parameter. |
|
SQL2306N |
The table or index name does not exist. |
The table or index identified by name does not exist in the database, or the index identified by name is not defined on the specified table. The qualifier for the table or one of the indexes may be incorrect. The utility stops processing. |
Resubmit the command with valid table names and indexes. |
|
SQL2307N |
The table specified is a system table. The Runstats utility cannot be run against a system table. |
The Run Statistics utility command may not be run against a system table. The utility stops processing. |
Resubmit the command with a valid table name. |
|
SQL2308N |
The qualifier for the index name name is too long or it was not specified as part of the index name. |
The index name must be a fully qualified name. The format is authid.name where authid contains 1 to 128 bytes and name contains 1 to 128 bytes. The utility stops processing. |
Resubmit the command with a fully qualified name, including the correct qualifier. |
|
SQL2309N |
The index name name is not valid. It is too long or only a qualifier was specified. |
The index name must be a fully qualified name. The format is authid.name where authid contains 1 to 128 bytes and name contains 1 to 128 bytes. The utility stops processing. |
Resubmit the command with a valid index. |
|
SQL2310N |
The utility could not generate statistics. Error sqlcode was returned. |
An error occurred while the utility was gathering statistics. The sqlcode number in the token sqlcode indicates more specifically what the underlying error was. |
|
|
SQL2311N |
The user does not have the authority to run the RUNSTATS utility on table name. |
The user attempted to run statistics on the specified table without the appropriate authorization. If the table specified for the RUNSTATS command is the root table of a table hierarchy, the table name returned in the message might be a subtable of the specified root table. For tables, CONTROL privilege on the table or one of the following authorities is required: SYSADM, SYSCTRL,SYSMAINT,DBADM,SQLADM, or LOAD. For statistical views, both of the following authorizations are required:
The utility stops processing. |
Call the RUNSTATS utility command with appropriate authorization. |
|
SQL2312N |
Statistics heap size is too small to carry out the operation. Suggested heap size is num pages. |
The setting of the database configuration parameter stat_heap_sz is not big enough to collect non-uniform distribution statistics on the table. |
Update the database configuration parameter stat_heap_sz to the suggested value and try again. |
|
SQL2313W |
All available memory in the statistics heap has been used. Statistics were collected on the first n1 rows out of a total of n2 rows. |
The setting of the database configuration parameter stat_heap_sz is not big enough to collect non-uniform distribution statistics on the table. Only <n1> of <n2> rows could be processed. |
Update the database configuration parameter stat_heap_sz by 20 percent and try again. |
|
SQL2314W |
Some statistics are in an inconsistent state. The newly collected object1 statistics are inconsistent with the existing object2 statistics. |
The query optimizer uses statistics to determine the best access plan for a query. When inconsistent statistics are present, the optimizer performs access plan evaluation with information that is less accurate then if a consistent set of statistics was available. This might result in an access plan that is not optimal. Possible causes of this warning include the following.
|
Address the cause of the inconsistency and then collect statistics again to resolve the inconsistency.
sqlcode: +2314 sqlstate: 01650 |
|
SQL2315N |
The RUNSTATS utility was called with the option-name option. However, a statistics profile for this table does not exist. |
The statistics profile for this table does not exist in the catalog table SYSIBM.SYSTABLES. The utility stops processing. |
To create a statistics profile for this table, use the SET PROFILE or SET PROFILE ONLY options. Refer to the RUNSTATS utility documentation for information about the utility options. option-name is a token which can be "USE PROFILE", "UNSET PROFILE", or "UPDATE PROFILE". |
|
SQL2316W |
The Runstats command string for the statistics profile has exceeded the maximum size. The Runstats command string will be truncated to the maximum size and stored in the catalog table SYSIBM.SYSTABLES. |
The maximum size of the STATISTICS_PROFILE column is 32768 bytes. If the size of the statistics profile is greater than this amount, the Runstats command strings is truncated to the maximum size. The utility continues processing. |
Refer to the STATISTICS_PROFILE column in the catalog table SYSIBM.SYSTABLES to review the statistics profile. If the existing statistics profile is not desired, reissue the RUNSTATS utility and specify the UPDATE PROFILE or the UPDATE PROFILE ONLY option to modify the profile. Refer to the RUNSTATS utility documentation for information about the utility options. |
|
SQL2317W |
SYSTEM SAMPLING was specified for RUNSTATS but is not supported for the statistical view specified. BERNOULLI SAMPLING was done instead. |
Page-level sampling, or SYSTEM SAMPLING, could not be performed on the statistical view specified for RUNSTATS. For statistical views, SYSTEM sampling can only be applied to a single base table referenced in the view definition. If the view contains multiple tables, SYSTEM sampling is possible if a single table among all the tables in the statistical view can be identified as being joined with all primary keys or unique index columns of the other tables used in the view. The referential integrity constraints can be informational. If the view meets the previously described criteria, page-level sampling will be done on the child table. Because the statistical view specified did not satisfy these conditions, row-level sampling, or BERNOULLI SAMPLING, was done instead. |
Specify BERNOULLI SAMPLING for the statistical view to avoid having this warning returned. sqlcode: +2317 sqlstate: 0168V |
|
SQL2406N |
The BACKUP cannot be performed because the database needs to be rolled forward. |
The backup failed because the database is in an inconsistent state. The utility stops processing. |
Use the ROLLFORWARD command to make the database usable. Then resubmit the BACKUP command. |
|
SQL2412C |
A corrupted database page was encountered while running a database utility. |
During the utility operation a corrupted database page was encountered. The database is in an unpredictable state and the utility cannot continue. |
Record the message number (SQLCODE). If trace was active, invoke the Independent Trace Facility at the operating system command prompt. Then contact your technical service representative with the following information:
|
|
SQL2413N |
Online backup is not allowed because the database is not recoverable or a backup pending condition is in effect. |
Online backup cannot be performed while the database is not logging for forward recovery as forward recovery will be required at restore time. Forward recovery is placed into effect by setting either the database configuration LOGARCHMETH1 or LOGARCHMETH2 and then performing an offline backup of the database. |
Execute an offline backup or reconfigure the database for roll-forward recovery and issue an offline backup so that subsequent online backups will be allowed. |
|
SQL2416W |
Warning! Device device is full. Please mount new media. |
The tape which the utility is using has become full. |
Mount another tape and continue the operation with the callerac parameter indicating if processing continues. |
|
SQL2417N |
Archive log is not allowed on non-recoverable databases. |
The archive log command can only be used on databases that are in recoverable mode. A database is in recoverable mode if LOGARCHMETH1 is set to DISK, TSM, VENDOR, USEREXIT, or LOGRETAIN, or if LOGARCHMETH2 is set to DISK, TSM, or VENDOR. |
Ensure that the specified database is in recoverable mode and reissue the command. |
|
SQL2418N |
The database specified for Backup does not exist. |
The database specified in the dbase parameter of the Database Backup command could not be found. |
Ensure that the correct database alias was specified for the Backup Database utility and that the database exists for this alias. Resubmit the command with the correct alias. |
|
SQL2419N |
The target disk disk has become full. |
During the processing of a database utility, the target disk became full. The utility has stopped and the target is deleted. |
Ensure enough disk space is available for the utility or direct the target to other media, such as tape. On unix-based systems, this disk full condition may be due to exceeding the maximum file size allowed for the current userid. Use the chuser command to update fsize. A reboot may be necessary. On non unix-based systems, this disk full condition may be due to exceeding the maximum file size allowed for the operating system. Direct the target to other media, such as tape, or use multiple targets. |
|
SQL2420N |
Insufficient space on device device to contain initial backup control information. |
During the Backup operation an initial backup header needs to be created at the start of the backup image. This header must fit on one tape when backing up to tape. There is insufficient space on the tape to contain this header. |
Resubmit the Backup operation and either direct the output to a new tape, or reposition the current tape to provide enough space for this header. |
|
SQL2421N |
Table space level backup is not allowed because the database is not recoverable or a backup pending condition is in effect. |
This message is returned when a table space level backup cannot be performed because the database is not recoverable or a backup pending condition is in effect. This can happen under the following conditions:
|
|
|
SQL2423N |
The database cannot be backed up because some index files are missing. |
Some of the index files required by the backup are missing. These index files must be recreated prior to backing up the database. |
Run the 'db2recri' program to recreate the missing index files and then resubmit the backup command. |
|
SQL2424N |
The backup could not succeed because asynchronous copy operations at DB2 Data Links Managers are not complete. |
The TSM or vendor supplied archive server might not be in operational state. |
Ensure TSM or the vendor supplied archive server is in an operational state and resubmit the backup command. |
|
SQL2425W |
The log file for the online backup was not truncated. |
During an online backup, all buffered log records are forced to disk and the last active log file is truncated. During the current backup, truncation of the last active log file has failed. As a result, new log records will continue to be written into the last log file used during the backup. |
No user action is required. The last active log file used during the backup will eventually become inactive when it becomes full. |
|
SQL2426N |
The database has not been configured to allow the incremental backup operation. Reason code = reason-code. |
Incremental backups are not enabled for a table space until after modification tracking has been activated for the database and a non-incremental backup has been performed on the table space. Possible reason codes:
|
The action is based on the reason code as follows:
|
|
SQL2427N |
Plug-in library filename cannot be backed up because it does not contain entrypoint entrypoint. |
A compressed backup image is being created with the plug-in library being included in the image. However, the library does not contain all the functions needed to decompress the backup image when it is restored. The utility stops processing. |
Resubmit the command, specifying the name of a library that has all the functions needed to decompress the backup image. |
|
SQL2428N |
The backup operation did not complete because an error was encountered while the backup utility was retrieving the log files. |
You can include database log files in a backup image by specifying the INCLUDE LOGS parameter with the BACKUP command. When the INCLUDE LOGS parameter is specified with the BACKUP command, if any of the logs required for rollforward recovery cannot be retrieved and copied into the backup image the backup operation fails. There are multiple reasons why the backup utility might encounter a problem while retrieving and copying the log files into the backup image, including these examples:
|
|
|
SQL2429N |
The database backup failed. The following database partitions returned errors: database-partition-list. |
The backup of a partitioned database failed on one or more database partitions. When the database server backs up a partitioned database, a failure on any one of the partitions causes the whole backup to fail. The backup operation terminated. No backup image was generated. |
|
|
SQL2430W |
The database backup succeeded, but the following table spaces do not exist on this database partition: table-space-list. |
The database server successfully backed up the partitioned database containing this partition. However, some of the table spaces that were specified in the BACKUP command do not exist on this partition. This might be because the table spaces specified are located on other partitions of this database; or because the list of table spaces specified contains an error. The backup completed successfully. |
|
|
SQL2431W |
The database backup succeeded. On each database partition, only those log files that were active during the backup operation are included in the backup image. |
The database server successfully backed up a partitioned database. The backup image of each database partition contains only the log files that was were active at the time of the backup. It is not possible to rollforward the whole partitioned database using only the log files included in the backup images, if any of those log files does not span a period of time including the database minimum recovery time. The minimum recovery time (MRT) for a database object is the earliest point in time to which it can be rolled forward. In a partitioned database, the database MRT is the latest MRT of any one of its database partitions. You can only roll forward a partitioned database if you have a set of log files on all database partitions that span a period of time that includes the database MRT. The log files included with the backup image might not satisfy this requirement. The backup completed successfully. |
If your database recovery strategy relies on using only log files included in backup images to rollforward your partitioned database, rerun the backup command with the "ON ALL DBPARTITIONNUMS" parameter. This will ensure the log files included with the backup image will be sufficient to rollforward your database. |
|
SQL2432N |
A snapshot backup failed because the EXCLUDE LOGS parameter was specified but the following log directories could not be excluded because they are not independent of other database paths and devices: log-directory-list. |
A snapshot backup enables you to use fast copying technologies for the data copying and movement parts of DB2 database backup and restore operations. The EXCLUDE LOGS parameter was specified for a snapshot backup, but the path for the given log directory or directories shares a path or storage device with other paths or storage devices used by the database being backed up. When the log directory shares a path or storage device with other paths or storage devices used by the database being backed up, it is not possible for the snapshot backup to include the shared path or storage device without including the log directory. For example: when you create a database, the log directory is created under the main database directory by default. Because a snapshot backup will include everything under the main database directory, the log directory will be included in the resulting backup image too. If you use the default log path when you create a database, you will not be able to exclude the logs from the backup image when you perform a snapshot backup on that database. The mechanism for grouping database directories varies among the snapshot backup support provided by different storage management software. |
You can do one of:
|
|
SQL2433N |
The backup operation did not complete because an error was encountered while the backup utility was processing the extraction log files. |
You can include extraction log files in a backup image by specifying the INCLUDE LOGS parameter with the BACKUP DATABASE command. INCLUDE LOGS is the default with most online backups. If extraction log files exist they will be copied into the backup image. In default environments, failing to include an extraction log file into a backup image is not a cause for the BACKUP DATABASE command to fail. The backup utility can tolerate such errors and will proceed to include the corresponding active log file instead to ensure the backup image is recoverable at restore time. If the user has specified in the environment to fail the backup utility when an error is encountered trying to copy an extraction log file into the backup image, this error will be returned. There are multiple reasons why the backup utility might encounter a problem while processing and copying the extraction log files into the backup image, including these examples:
|
Related information: BACKUP DATABASE command |
|
SQL2434N |
The redirected restore operation failed because a table space operation could not be replayed during the rollforward phase of the restore operation. |
A redirected restore is a restore in which the set of table space containers for the restored database is different from the set of containers for the original database at the time the backup was done. When you define new table space containers that are to be used by the restored database, you can define an architecture for the new table space containers that is not the same as the architecture of the original table space containers. For example, you can use a redirected restore operation to change a database that currently uses two table space containers to use a single table space container. If the architecture of the table spaces to be used by the restored database is different from the architecture of the original database, it is possible that there are table space altering operations in the database log files that will have to be replayed during rollforward that are not valid in the new table space architecture. This message is returned during a redirected restore operation when the rollforward utility attempts to replay a table space operation that is invalid for the target table space container architecture. Specifically, this message is returned when the rollforward utility attempts to perform a table space operation on a REGULAR or USER TEMPORARY DMS table space that causes the size of the table space to increase beyond the defined maximum allowed size, as determined by the PAGESIZE database configuration parameter. |
sqlcode: -2434 sqlstate: 58004 |
|
SQL2435N |
Database activation failed because there is insufficient memory available in the CF for this database. Database name: database-name. |
This message is returned when an attempt is made to have multiple active databases in a DB2 pureScale environment, but the activation of one database fails because there is not enough memory in the cluster caching facility, also known as CF, for that database. You can configure the total amount of memory that is available for the CF using the cf_mem_sz database manager configuration parameter. You can configure the percentage of the total CF memory that is assigned to each database that has the cf_db_mem_sz database configuration parameter set to AUTOMATIC using the DB2_DATABASE_CF_MEMORY registry variable. (Any database that has cf_db_mem_sz set to a specific value will ignore the DB2_DATABASE_CF_MEMORY registry variable.) Use of the DB2_DATABASE_CF_MEMORY registry variable must be coordinated with the cf_db_mem_sz database configuration paremter and the numdb database manager configuration parameter.
One reason this error can occur is because the DB2_DATABASE_CF_MEMORY registry variable is set to 100 when numdb is greater than 1. |
Respond to this error in one of the following ways:
|
|
SQL2436N |
The table table-name failed to meet the prerequisites for data redistribution. Reason code=reason-code. |
You can use the redistribute utility to rebalance the distribution of data across database partitions after adding or removing database partitions, or to achieve a desired data distribution across partitions. This message is returned when an attempt is made to redistribute data in a database, using the REDISTRIBUTE DATABASE PARTITION GROUP command for example, but the redistribute utility determines that there are one or more tables that are not in an appropriate state to be redistributed. If the PRECHECK YES OR PRECHECK ONLY command parameter was specified in the REDISTRIBUTE DATABASE PARTITION GROUP command, this error message describes the first check that failed; data redistribution does not commence. In all other cases, the data redistribution was attempted and failed; tables that were partially processed are put in "redistribute pending" state. The reason that the table failed to meet data redistribution prerequisites is indicated by the reason code:
|
Take corrective action on table-name, but be aware that it might not be the only problematic table in the database partition group. By checking all of the tables in the database partition group, you can avoid multiple unsuccessful redistribution attempts. For more information, refer to the documentation about troubleshooting table states during data redistribution.
sqlcode: -2436 sqlstate: 55019 |
|
SQL2437N |
The data movement command failed because the utility was unable to resolve how implicitly hidden columns should be processed. No data was moved. |
You can move data into and out of databases, using utilities such as LOAD, IMPORT, INGEST, and EXPORT. There are several ways to specify how data movement utilities should handle implicitly hidden columns:
This message is returned when an attempt is made to move data into or out of one or more tables that contain implicitly hidden columns, and the data movement utility cannot determine whether the implicitly hidden columns should be included in the data movement operation because none of the methods described have been used to specify how hidden columns should be handled. |
Run the utility again, specifying how implicitly hidden columns should be handled using appropriate command parameters or registry variables. |
|
SQL2438W |
The data movement command succeeded. However, the utility detected that one or more of the tables that were involved in the data movement operation contain implicitly hidden columns, and the utility was unable to resolve how those implicitly hidden columns should be processed. Any data in implicitly hidden columns was not moved. |
You can move data into and out of databases, using utilities such as LOAD, IMPORT, INGEST, and EXPORT. There are several ways to specify how data movement utilities should handle implicitly hidden columns:
This message is returned when data is being moved into or out of one or more tables that contain implicitly hidden columns, and the data movement utility cannot determine whether the implicitly hidden columns should be included in the data movement operation because none of the methods described have been used to specify how hidden columns should be handled. Data has been moved, but data in any implicitly hidden columns was not moved. |
If the data in the implicitly hidden columns should have been moved, rerun the data movement operation specifying how implicitly hidden columns should be handled using appropriate command parameters or registry variables. To avoid this warning in the future: When moving data into or out of tables that contain implicitly hidden columns, specify how implicitly hidden columns should be handled using appropriate command parameters or registry variables. |
|
SQL2439N |
The routine could not be run because the routine definition has changed and the db2updvXX tool has not been used to update routine definitions. |
This message is returned when a new level has been applied but the db2updvXX utility for that version (for example, db2updv97, or db2updv10) has not be used to update the system routine definitions. |
Run the appropriate db2updvXX command. |
|
SQL2440W |
The BACKUP completed but one or more of the requested log files could not be retrieved. |
When the DB2_BCKP_INCLUDE_LOGS_WARNING registry variable is set to ON, online backups that include logs can succeed even if some of the logs required for the successful rollforward recovery of the image cannot be retrieved and copied into the backup image. If this backup image is restored, it will not be able to complete rollforward recovery unless all of the required logs are made available. |
Respond to this warning in one of the following ways:
To revert to the previous behavior in which online backups with missing logs failed, set the DB2_BCKP_INCLUDE_LOGS_WARNING registry variable to OFF. |
|
SQL2441N |
The db2convert command failed because a specified table is involved in an in-progress conversion or move operation. Table name: table-name. |
You can convert row-organized tables into column-organized tables by using the db2convert utility. This message is returned when the db2convert command is called and one or more tables to be converted are either already in the process of being converted or are involved in a table move operation. |
|
|
SQL2442N |
The db2convert command failed because the following invalid parameter or invalid combination of parameters was specified: parameter-list. |
You can convert row-organized tables into column-organized tables by using the db2convert utility. This message is returned when either an invalid parameter is specified with the db2convert command, or when an invalid combination of parameters is specified. |
Run the db2convert command again, specifying valid parameters. |
|
SQL2443N |
The db2convert command failed because a database was not specified with the -d parameter. |
You can convert row-organized tables into column-organized tables by using the db2convert utility. When you run the db2convert command, you must use the -d parameter to specify the name of the database in which the tables to convert are located. This message is returned when the db2convert command is called but no database is specified with the -d parameter. |
Call the db2convert command again, specifying a database name with the -d parameter. |
|
SQL2444N |
The db2convert command failed because the -continue parameter was specified but no corresponding convert operation is ready to be continued. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can perform the conversion operation all in one step. However, you can also choose to perform the conversion operation in two steps:
If you choose to perform the conversion in two steps, the table specification in the first db2convert call and in the second db2convert call must match, and the first step must be completed before you can perform the second step. This message is returned when the db2convert command is run with the -continue parameter, but no matching call to the db2convert command with the -stopBeforeSwap parameter has completed. |
|
|
SQL2445N |
The db2convert command failed because no tables satisfy the matching criteria specified. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can control which tables to convert by specifying matching criteria with db2convert parameters:
For example, the following command converts all row-organized tables in database db1 that satisfy the matching criteria "owned by user1 and in schemaA": This message is returned when no tables satisfy the matching criteria that were specified with the db2convert command. |
To convert row-organized tables into column-organized tables, call the db2convert command specifying criteria that match one or more tables in the database. |
|
SQL2446I |
The db2convert command completed successfully. All row-organized tables that satisfy the specified matching criteria have been converted to column-organized tables. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can control which tables to convert by specifying matching criteria with db2convert parameters:
This message is returned when the db2convert utility has completed the conversion process successfully for all tables that match the specified criteria. |
No response is required. |
|
SQL2447W |
The db2convert command successfully converted one or more row-organized tables to column-organized tables. However, one or more tables failed to be converted. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can control which tables to convert by specifying matching criteria with db2convert parameters:
The db2convert utility will attempt to convert all row-organized tables that match the specified criteria. This message is returned when the db2convert fails to convert one or more tables. There are multiple reasons that a table might have failed to be converted, including the following examples:
The db2convert utility prints summary information to stdout upon completion. That summary information includes a list of tables that were converted and tables that were not converted, including details about what errors occurred. |
Review the summary information that the db2convert utility printed to stdout for more information about what succeeded and what failed. |
|
SQL2448N |
The db2convert command failed to convert any row-organized tables to column-organized tables. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can control which tables to convert by specifying matching criteria with db2convert parameters:
The db2convert utility will attempt to convert all row-organized tables that match the specified criteria. This message is returned when the db2convert fails to convert any tables. There are multiple reasons that a table might have failed to be converted, including the following examples:
The db2convert utility prints summary information to stdout upon completion. That summary information includes a list of tables that were converted and tables that were not converted, including details about what errors occurred. |
Review the summary information that the db2convert utility printed to stdout for more information about what what failed. |
|
SQL2449W |
The db2convert command converted no tables because no tables that satisfied the specified matching criteria were row-organized. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can control which tables to convert by specifying matching criteria with db2convert parameters:
The db2convert utility will attempt to convert all row-organized tables that match the specified criteria. This message is returned when none of the tables that match the specified criteria are row-organized tables. |
To convert row-organized tables to column-organized tables, call the db2convert command specifying table criteria that match existing row-organized tables. |
|
SQL2450I |
The db2convert command successfully completed the INIT, COPY, and REPLAY phases of the conversion process for all row-organized tables that satisfy the specified matching criteria. If the database is recoverable, a backup can be taken at this point. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can control which tables to convert by specifying matching criteria with db2convert parameters:
You can perform the conversion operation in one step. However, you can also choose to perform the conversion operation in two steps:
Performing the operation in two steps allows you to back up the database before completing the conversion. This message is returned when the db2convert utility has successfully completed the first step of the two-step conversion process for all tables that match the specified criteria. |
To complete the conversion of the tables to column-organized tables, call the db2convert command specifying the same table criteria and the -continue parameter. |
|
SQL2451W |
The db2convert command successfully completed the INIT, COPY, and REPLAY phases of the conversion process for some row-organized tables that satisfy the specified matching criteria. However, errors were encountered during the conversion of one or more tables. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can control which tables to convert by specifying matching criteria with db2convert parameters:
You can perform the conversion operation in one step. However, you can also choose to perform the conversion operation in two steps:
The db2convert utility will attempt to convert all row-organized tables that match the specified criteria. This message is returned when the db2convert fails to convert one or more tables. There are multiple reasons that a table might have failed to be converted, including the following examples:
The db2convert utility prints summary information to stdout upon completion. That summary information includes a list of tables that were converted and tables that were not converted, including details about what errors occurred. |
To complete the conversion of the tables for which the INIT, COPY, and REPLAY phases of the conversion process were successful, call the db2convert command specifying the -continue parameter. |
|
SQL2452N |
The db2convert command failed to complete the INIT, COPY, and REPLAY phases of the conversion process for any tables that satisfy the specified matching criteria. |
You can convert row-organized tables into column-organized tables by using the db2convert command. You can control which tables to convert by specifying matching criteria with db2convert parameters:
You can perform the conversion operation in one step. However, you can also choose to perform the conversion operation in two steps:
The db2convert utility will attempt to convert all row-organized tables that match the specified criteria. This message is returned when the db2convert is unable to convert any tables. There are multiple reasons that a table might have failed to be converted, including the following examples:
The db2convert utility prints summary information to stdout upon completion. That summary information includes a list of tables that were converted and tables that were not converted, including details about what errors occurred. |
Review the summary information that the db2convert utility printed to stdout for more information about what failed. |
|
SQL2453N |
Rebinding the package failed because the SQL object that generated the package needs to be revalidated. SQL object name: object-name. SQL object type: object-type. |
Rebinding is the process of recreating a package for an application program that was previously bound. You can rebind a package by using the REBIND command. This message is returned when an attempt is made to rebind a package that is generated for an SQL object (such as an SQL procedure or a compiled function, among others) that is invalid. The SQL object might have become invalid for one of multiple reasons, such as because something in the body of the SQL object has changed since the SQL object and the associated package was created. |
sqlcode: -2453 sqlstate: 560D6 |
|
SQL2454N |
The db2convert command failed because the db2convert utility failed to write to the output file that was specified with the -o option. Specified output file name: file-name. |
You can convert row-organized tables into column-organized tables by using the db2convert utility. You can cause all message text output from the db2convert utility to be printed to a file by specifying an output file name with the -o option. If the specified file does not exist, the db2convert utility will create the file. If the specified file exists, the db2convert utility will overwrite the existing file. This message is returned when a file name is specified with the -o option, but the db2convert utility cannot write output to the specified file. There are different reasons why the db2convert utility might be unable to print to the specified output file, including the following examples:
|
Call the db2convert command again, specifying an output file for which you have write permission. |
|
SQL2455W |
The configuration parameter was successfully updated. However, one or both of the SORTHEAP and SHEAPTHRES_SHR configuration parameters is now set to a value that cannot be used with column-organized tables. |
You can enable self-tuning for sort memory by setting the database configuration parameters SORTHEAP and SHEAPTHRES_SHR to "AUTOMATIC". Self-tuning for sort memory is not supported with column-organized tables. This message is returned when either the configuration parameter SORTHEAP or the configuration parameter SHEAPTHRES_SHR is updated to "AUTOMATIC" while there is a column-organized table in the database. |
To use self-tuning for sort memory, use only row-organized tables instead of colum-organized tables. |
|
SQL2456I |
Database configuration parameter parm-name1 has been set to value. These database configuration parameters have also been changed to the same value: parameter-name-list |
If database configuration parameter CF_DB_MEM_SZ is set to AUTOMATIC, these memory consumer parameters are also automatically set to AUTOMATIC: CF_GBP_SZ, CF_LOCK_SZ and CF_SCA_SZ. If any of the memory consumer parameters is set to a fixed value, the other two memory consumer parameters and database configuration parameter CF_DB_MEM_SZ are also automatically set to a fixed value. If CF self-tuning memory was set on, CF self-tuning memory is turned off for this database. If any of the memory consumer parameters is set to AUTOMATIC, the other two memory consumer parameters are also set to AUTOMATIC. The value of database configuration parameter CF_DB_MEM_SZ remains unchanged. |
No action required. |
|
SQL2457W |
CF self-tuning memory was not enabled. |
For CF self-tuning memory to be enabled, when registry variable DB2_DATABASE_CF_MEMORY is set to AUTO, these database configuration parameters must be set to AUTOMATIC: CF_GBP_SZ, and CF_LOCK_SZ, CF_SCA_SZ. One of the database configuration parameters is not set to AUTOMATIC. |
To enable CF self-tuning memory, set the specified parameter to AUTOMATIC using the UPDATE DATABASE CONFIGURATION command. |
|
SQL2458W |
The value of registry variable DB2_DATABASE_CF_MEMORY was changed after the first database activation. A database manager restart is required. |
Changing the setting of registry variable DB2_DATABASE_CF_MEMORY requires a database manager restart for the new value to take effect. Until the database manager is restarted, the databases are not aware of the new value and will not have their CF memory configurations adjusted according to the new value. |
Restart the database manager using the DB2STOP and DB2START commands. |
|
SQL2459N |
The BACKUP DATABASE command failed because of compression-related or encryption-related configuration or command parameter errors. Reason code: reason-code. |
Encryption-related or compressions-related configuration settings can be specified for backup operations in two ways:
The reason code indicates more specifically why this message was returned:
|
Respond according to the reason code:
|
|
SQL2460W |
The database was started with settings that might impact future growth of your database. |
In a multiple database environment, when one of the databases was activated, the database could not get as much memory as it wanted. This will affect how large that database can grow in the future. This message can be returned when the CF self-tuning memory is enabled and database memory configuration parameter CF_DB_MEM_SZ is set to AUTOMATIC. If the instance is hosting more than one database, either:
|
Perform one of the following actions:
|
|
SQL2461W |
CF self-tuning memory was not enabled because online fix pack updates were not committed. |
An online fix pack update applies a new fix pack level to members and cluster caching facilities (CFs) while the instance remains available. However, the ability to set registry variable DB2_DATABASE_CF_MEMORY to AUTO is blocked until after the instance is committed. |
After the online update is committed, set registry variable DB2_DATABASE_CF_MEMORY to AUTO using the db2set command. |
|
SQL2462N |
The db2convert command failed because the -cancel parameter was specified but no corresponding convert operation needs to be canceled. |
You can convert row-organized tables into column-organized tables by using the db2convert command. If an attempt to convert tables fails, you can cancel pending conversion changes by calling the db2convert command with the -cancel parameter. This message is returned when the db2convert command is called with the -cancel parameter, but no matching conversion operation has failed. |
To convert row-organized tables into column-organized tables, call the db2convert command again without specifying the -cancel parameter. |
|
SQL2463N |
The roll forward stopped because the rollforward utility has reached an upgrade operation in the logs. |
To rollforward (or recover) through an upgrade operation requires multiple steps. This message is returned when the rollforward utility has reached an upgrade operation in the logs, which means additional actions are required to complete the rollforward operation. |
Issue the rollforward (or recover) command from the later version of the product to complete the operation. |
|
SQL2464N |
The rollforward operation stopped because the utility detected an upgrade or update operation in the database logs and verification tests failed. Reason code: reason-code. |
When the rollforward utility encounters an upgrade or update operation in the database logs, the utility performs verification tests before replay of the operation can continue. This message is returned when the rollforward utility detects an upgrade or update operation in the database logs and verification tests fail for one of the following reasons:
|
|
|
SQL2501C |
The database was restored but the data in the restored database was unusable. |
The RESTORE utility either could not read data from the restored database or only a portion of the database was restored. Both cases indicate that the restored database is not usable. The database is unusable and the RESTORE utility stops processing. |
Resubmit the RESTORE command. |
|
SQL2502C |
An error occurred while reading the backup files. Either the disk could not physically be read or the specified disk did not contain a valid backup. |
An operating system error occurred when the RESTORE utility was reading the diskette or disk, or the diskette or disk does not contain a backup of the database directory or does not contain the results of any previous backup. The utility stops processing. |
If the input drive specified is a diskette drive, check the diskette being used. If the input drive is a hard file, verify that it is the correct hard file. Resubmit the command with the correct input drive and the correct diskettes, if applicable. |
|
SQL2503N |
The RESTORE was not successful. The backup used to restore the database contained the wrong database. |
The name of the database contained on the backup disk does not match the database name specified on the RESTORE command. The RESTORE utility cannot determine the name until after the database has been restored because a previous release backup image was restored. The utility stops processing. |
If the wrong database name was used in the command, resubmit the command with the correct database name. If the input drive specified is a diskette drive, check the diskette being used. If the input drive is a hard file, verify that it is the correct hard file. Resubmit the command with the correct input drive and the correct diskettes, if applicable. |
|
SQL2504W |
Insert the first backup diskette into drive drive. |
The RESTORE utility reads the first backup diskette to determine the path of the database directory that was backed up. If the backup media is a diskette and the diskette is not found in the specified input drive, the utility returns to the caller with this prompt. The calling program is expected to query the user and return to the utility with the user response. The utility waits for a response from the caller. |
Prompt the user for the diskette and return to the utility with the callerac parameter, indicating if processing continues or ends. |
|
SQL2505W |
Warning! Database name resides on drive drive. The files for this database will be deleted. |
If the database being restored already exists, its files will be deleted before the restore process starts. The utility returns to the caller with this warning. The caller is expected to query the user and return to the utility with the user response. Once the database is dropped, it cannot be accessed again. The utility waits for response from the caller. |
Warn the user that the database files will be deleted and return to the utility with the callerac parameter indicating if processing continues or ends. |
|
SQL2506W |
The database was restored, but there may be extra files in the database. |
If changes-only backups were performed and database files were deleted between backups, the RESTORE utility adds these deleted files back into the database. The restore process could not delete the extra files either because of an I/O error or by the failure of an internal connection to an internally stopped database. The utility ends successfully. |
Either use the database as it is or attempt to restore it again. Ensure that the DB2 configuration is compatible with the restored database configuration before rerunning the RESTORE utility. |
|
SQL2507W |
The RESTORE utility is not bound to the database correctly. |
Because the RESTORE utility was not bound to the database or the package of the utility that was bound to the database is not compatible with the installed version of DB2, all the utilities have been rebound to the database. But there is a timestamp conflict between the installed version of the database product and the package so the utility and bind file are not compatible. The database is restored, but the utility is not correctly bound. |
Reinstall DB2 or reapply recent updates and resubmit the utility command. |
|
SQL2508N |
The Database Restore timestamp parameter timestamp is not valid. |
The timestamp parameter must contain either NULL or a portion of a valid timestamp, the portion consisting of complete components of a timestamp. |
Resubmit the Restore operation with a valid timestamp value. |
|
SQL2509N |
The database drive parameter is not valid. |
The drive specified does not exist, or the database does not exist on this drive or is not cataloged on this drive. RESTORE should use the db2uexit command to perform the database restore. The utility stops processing. |
Resubmit the utility command with a valid drive. |
|
SQL2510N |
An operating system semaphore error occurred. |
An error occurred in the wait or post semaphore. The utility stops processing. |
Stop the database manager, then restart it and resubmit the utility command. |
|
SQL2511N |
The utility encountered an error error while dropping the database. |
The utility could not drop the database. The utility stops processing. |
Look at the error number in the message for more information. Make changes and resubmit the command. |
|
SQL2512N |
The utility encountered an error error while creating the database. |
The utility could not create the database. The utility stops processing. |
Look at the error number in the message for more information. Make changes and resubmit the command. |
|
SQL2513N |
The utility encountered an error error renaming the database. |
The utility could not rename the database. The utility stops processing. |
Look at the error number in the message for more information. Make changes and resubmit the command. |
|
SQL2514N |
The RESTORE was not successful. The backup used to restore the database is not compatible with the installed database manager. |
The restore was not successful as the release number in the database configuration of the restored database did not meet the minimum level of compatibility required by the installed database manager. If you are restoring a database from an older version of Db2, the release number is not one supported for upgrade. If you are restoring a database from the same version of Db2, the release number is not one supported by this level of Db2. The utility stops processing. |
Resubmit the command with a level of the database manager that is compatible with level of the backup. For information on compatibility, consult the Db2 documentation. |
|
SQL2515N |
The user does not have the authority to run the RESTORE DATABASE utility against the database. |
The user attempted to execute the RESTORE DATABASE utility without SYSADM authority. The utility stops processing. |
Ensure that you have the appropriate authorization to run the RESTORE DATABASE command. |
|
SQL2516N |
The RESTORE utility cannot complete because at least one database on the workstation is in use. |
In some situations, the RESTORE utility can attempt to move a database to a directory by renaming the directory associated with the database. This cannot be done if any databases are in use in any process on the workstation. The utility stops processing. |
Wait until no databases on the workstation are in use and resubmit the command. |
|
SQL2517W |
The database was successfully restored and then upgraded to the current release. However, the database operation returned warning or error code warn-err-code and runtime tokens tokens. |
You can upgrade a database from one version to a newer version using the restore utility. You can upgrade by recreating your old database manager instance in the new version and then restoring a backup image from the the old instance into the new instance. In this scenario, after restoring the database in the new database instance, the restore utility automatically performs the upgrade operation. This message is returned when the upgrade operation that the restore utility automatically runs returns a warning or error. |
Respond to this message by performing the following troubleshooting steps:
The user who issued the RESTORE DATABASE command is given DBADM authority to the database. If other users had DBADM authority prior to the restore, work with a user who has SECADM authority, to grant DBADM authorization to these users. |
|
SQL2518N |
The RESTORE was not successful. An I/O error occurred while trying to restore the database configuration file. |
The database configuration file could not be restored due to an I/O error. The utility stops processing. |
Determine whether the I/O error can be corrected. Resubmit the command. |
|
SQL2519N |
The database was restored but the restored database was not upgraded to the current release. Error sqlcode with tokens tokens is returned. |
The database backup that you restored is from a previous database product release. After the database files were restored, an attempt was made to upgrade the database to the current release. The database upgrade failed. The database restore was completed but the database was not upgraded. |
Review the SQLCODE (message number) returned for more information. Make any corrections and issue the UPGRADE DATABASE command before accessing the database. |
|
SQL2520W |
The database was restored. The backup version of the configuration file was used. |
When a database is restored, the current database configuration file is not always replaced with the backup version. The current database configuration file was not usable. It has been replaced by the backup version. The utility completed successfully. |
Some values in the database configuration file may be different after the restore process. Check that the configuration parameters are set to the desired values. |
|
SQL2521W |
The database was restored, but an I/O error code occurred while deleting file type file-type. |
The restore process ran successfully. The specified file was not deleted due to an I/O error. A file with the extension “.BRG” is used to determine whether a RESTORE operation has terminated abnormally. The file resides in the local database directory of the database for which the RESTORE operation was attempted. A file with the extension “.BRI” stores information about the progress of an incremental RESTORE operation. The file resides in the local database directory of the database for which the RESTORE INCREMENTAL operation was attempted. The file name consists of the database token concatenated with the file type extension. For example, if the database “SAMPLE” is assigned the database token “SQL00001”, the BRI file will have the name “instance/NODE0000/sqldbdir/SQL00001.BRI”. The utility completed successfully. |
Delete the .BRG or .BRI file manually. If the file cannot be deleted, contact your technical service representative. |
|
SQL2522N |
More than one backup file matches the time stamp value provided for the backed up database image. |
The backup image file file name consists of a database alias and a time stamp component. A file name is constructed from the source database alias and time stamp parameters provided in the Database Restore call. A portion of a time stamp may have been specified so that a match with more than one backup image file name was found. If no time stamp was provided restore implicitly matches any backup image; implying if there are more than one backup images a unique match cannot be made. |
Resubmit the operation by specifying a time stamp with sufficient time stamp components to result in a match to a unique backup file. |
|
SQL2523W |
Warning! Restoring to an existing database that is different from the database on the backup image, but have matching names. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted. |
The database alias and name of the target database are the same as the backup image database alias and name. The database seeds are not the same indicating that the databases are not the same. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted. The current configuration file will be overwritten with the backup version. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2524W |
Warning! Restoring to an existing database which appears to be the same but the alias dbase of the existing database does not match the alias dbase of the backup image. The target database will be overwritten by the backup version. |
The database seeds of the target database and the database image are the same, indicating these are the same databases, the database names are the same, but the database aliases are not the same. The target database will be overwritten by the backup version. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2525W |
Warning! Restoring to an existing database that is different from the database on the backup image, and the alias dbase of the existing database does not match the alias dbase of the backup image, but the database names are the same. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted. |
The database aliases of the target database and database image are not the same, the database names are the same, and the database seeds are not the same, indicating these are different databases. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted. The current configuration file will be overwritten with the backup version. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2526W |
Warning! Restoring to an existing database that is the same as the backup image database, and the alias names are the same, but the database name dbname of the existing database does not match the database name dbname of the backup image. The target database will be overwritten by the backup version. |
The database aliases of the target database and database image are the same, and the database seeds are the same, however the database names are different. These are the same databases. The target database will be overwritten by the backup version. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2527W |
Warning! Restoring to an existing database that is different from the backup image database, and the database name dbname of the existing database does not match the database name dbname of the backup image, but the alias names are the same. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted. |
The database aliases of the target database and database image are the same, the database names are not the same, and the database seeds are not the same, indicating these are different databases. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted. The current configuration file will be overwritten with the backup version. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2528W |
Warning! Restoring to an existing database that is the same as the backup image database, but the alias name dbase of the existing database does not match the alias dbase of backup image, and the database name dbname of the existing database does not match the database name dbname of the backup image. The target database will be overwritten by the backup version. |
The database aliases of the target database and database image are not the same, the database names are not the same, and the database seeds are the same, indicating these are the same databases. The current database will be overwritten by the backup version. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2529W |
Warning! Restoring to an existing database that is different from the backup image database, and the alias name dbase of the existing database does not match the alias name dbase of the backup image, and the database name dbname of the existing database does not match the database name dbname of the backup image. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted. |
The database aliases of the target and database image are not the same, the database names are not the same, and the database seeds are not the same, indicating these are different databases. The current database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted. The current configuration file will be overwritten with the backup version. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2530N |
The backup image is corrupted. Restore of database from this backup image is not possible. |
The backup image being restored is corrupted making the database image non-restorable. |
Discard the backup image as it is unusable. Restore from a previous backup if possible. |
|
SQL2531N |
The backup image selected for restore is not a valid database backup image. |
The file selected for restore is not a valid backup image. Either the file selected has become corrupted or a backup tape is not at the correct position. |
Determine the location of the correct backup image file, and resubmit the Restore command. |
|
SQL2532N |
The backup file contains the backup image of database dbalias taken at timestamp timestamp. This is not the backup image requested. |
The file selected for restore does not contain the requested backup image. The image is for a different database than that requested. |
If using tape, ensure that the correct tape is mounted. If a restore or load is being done from disk, then the file must have been renamed. Rename the file to the correct filename with a match on database name and timestamp. Resubmit the command after taking the appropriate action. |
|
SQL2533W |
Warning! The backup file on device device contains the image of database database taken at timestamp timestamp. This is not the backup image requested. |
The backup image read from the tape position contains a media header that does not match the header of the image of the first file of the backup file sequence. |
Ensure that the tape is positioned at the correct backup, then return to the utility with the callerac parameter indicating if processing continues. |
|
SQL2534W |
Warning! The media on device device is not positioned at a valid backup media header. |
The data read from the tape position does not contain a valid backup media header. |
Ensure that the tape is positioned at the correct position, then return to the utility with the callerac parameter indicating if processing continues. |
|
SQL2535W |
Warning! End of media on device device has been reached. Please mount the next source media. |
The end of tape has been reached and there is still more data to be processed. The remainder of the backup or load source exists on another tape or on several more tapes. |
Mount the next tape in sequence that contains the source image and resubmit the Restore or Load command with the callerac parameter set to continue or end. |
|
SQL2536W |
Warning! The backup image on device device contains an incorrect sequence number. Sequence number number is expected. |
The tape is positioned on a backup image file that is out of sequence. The tape containing the backup image must be positioned to the file of sequence number sequence of the backup image. |
Position the tape containing the backup image to the correct file and resubmit the Restore command with the callerac parameter set to continue or end. |
|
SQL2537N |
Roll-forward is required following the Restore. |
SQLUD_NOROLLFWD was specified for the rst_type parameter of the Database Restore utility, indicating that a roll-forward is not required to make the restored database usable. If the database to be restored was backed up in online mode or the restore issued was a tablespace level restore, then a roll-forward operation is necessary to make the database usable. |
Resubmit the Database Restore command without specifying SQLUD_NOROLLFWD for the rst_type parameter. |
|
SQL2538N |
Unexpected End of File of Backup Image reached on media media. |
While reading and restoring from the Backup Image file, an end of file condition was reached unexpectedly. The backup image is unusable and the restore operation terminates. |
Resubmit the Database Restore command with a usable backup image file. |
|
SQL2539W |
The specified name of the backup image to restore is the same as the name of the target database. Restoring to an existing database that is the same as the backup image database will cause the current database to be overwritten by the backup version. |
This message is returned when the database aliases, names and seeds of the target database and database image are the same, indicating these are the same databases. The current database will be overwritten by the backup version. This message can also be returned when the RESTORE command is called with the GENERATE SCRIPT parameter. When the RESTORE command is used to generate a restore script, the restore utility performs some of the same error checking that is performed when a restore operation is being performed. When this message is returned when the RESTORE command is called with the GENERATE SCRIPT parameter, the message can be ignored. |
|
|
SQL2540W |
Restore is successful, however a warning warn was encountered during Database Restore while processing in No Interrupt mode. |
The Database Restore utility was invoked in No Interrupt mode, i.e. WITHOUT PROMPTING. During the processing, one or more warnings were encountered but not returned at the time they were encountered. The Restore has completed successfully and the warning messages found are shown at the completion in this message. |
Ensure that the action that caused this warning to be generated has not resulted in a condition not wanted. |
|
SQL2541W |
The utility was successful, however the file containing the backup image could not be closed. |
The utility was successful, but the file containing the backup image could not be closed. |
Attempt to close the file containing the backup image. |
|
SQL2542N |
No match for a database image file was found based on the source database alias database-alias and timestamp timestamp provided. |
The backup image file filename consists of a database alias and a timestamp component. A filename is constructed from the source database alias and timestamp parameters provided in the Database Restore call. No filename existed in the source directory that matched based on the source database alias and timestamp provided. The following situations might apply:
|
Appropriate responses corresponding to the situations described previously are:
|
|
SQL2543N |
The target directory specified for the database is not valid. |
The application calling the Restore utility has supplied a target directory for the new database to be created. Either this directory does not exist, or is not a valid directory for database creation. An invalid directory for database creation would be a directory of greater than 215 characters in length. |
Reissue the Backup or Restore command with a valid target directory. |
|
SQL2544N |
The directory where the database is being restored has become full. |
While the database was being restored the directory to which it was being restored had become full. The database being restored is unusable. The Restore terminates and if the database being restored is a new database, then it is deleted. |
Free up sufficient space on the directory for the database, and reissue the Restore, or if restoring to a new database supply a directory with sufficient space to contain the database. |
|
SQL2545W |
Warning! The backup image on the TSM server is currently stored on mountable media. The time required to make it available is unknown. |
The backup image is not immediately accessible by the TSM server. The restore process can continue and make the request to the server to retrieve the data. The time required is unknown. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2546N |
The image on media media is not the first in sequence from the backup or copy. |
During restore or load recovery, the first image from the backup or copy must be processed first. The image found on the media is not the first in sequence. The utility waits for a response to continue. |
Mount the media with the correct backup or copy image and return to the utility with the correct caller action parameter to indicate if processing should continue or terminate. |
|
SQL2547N |
The database was not restored because the backup image is from a previous release and requires rollforward recovery. |
The physical log file formats have changed between these releases, making rollforward impossible. |
Restore the database using the version of DB2 used to create the database and rollforward to the end of logs. Take an off-line full database backup at this time. This new backup image will be restorable on the new release of DB2. |
|
SQL2548N |
Database code page indicated within the backup image code-page is invalid or not supported. The restore operation has failed. |
|
If attempting to restore an image from a server with a newer FixPak level to a server with a lesser FixPak level, then ensure that the code page is supported by both servers. Alternatively, consider applying the newer FixPak to the server you are restoring to. |
|
SQL2549N |
The database was not restored because either all of the table spaces in the backup image are inaccessible, or one or more table space names in list of table space names to restore are invalid. |
The containers which were used by the table spaces in the backup image are not available, are already in use, or one or more table space names specified in the list on the restore command do not exist in the backup image. |
Use redirected restore to redefine the containers for the table spaces in this backup image, or specify a list of valid table space names to restore. If this error occurs during the transport operation, it might be caused by containers already in use by a staging database from a failed transport operation. This will cause subsequent transport operations to fail when restoring to their staging databases. Drop any transport staging databases and re-issue the RESTORE DATABASE command. |
|
SQL2550N |
Database backed up on node node1 cannot be restored to node node2. |
The backup image used for the restore is a backup of a database from a different node. You can only restore a backup to the same node. |
Ensure that you have the correct backup image for the node then issue the request again. |
|
SQL2551N |
Database with catalog node node1 cannot be restored to a database with catalog node node2. |
In an environment that is not a DB2 pureScale environment, the catalog node can exist on only one node. This message is returned when there is a discrepancy between the backup image and the node being restored to. This can occur in the following cases:
|
Verify that the correct backup image is being restored. If you are restoring to an existing database and want to change the catalog node to node2, the existing database must be dropped first. If you are restoring to a new database, restore the catalog node node1 first. |
|
SQL2552N |
Invalid report file name specified in the restore command. |
The length of the report file name exceeded the allowed limit of 255. |
Specify a report file name whose length is within the allowed limit and resubmit the restore command. |
|
SQL2553I |
The RECONCILE utility completed successfully. |
The utility completed successfully. |
No action necessary. |
|
SQL2554N |
The RECONCILE utility failed with reason code reason-code. Possible problem with component. |
Possible Reason codes:
|
Possible Solutions:
|
|
SQL2555I |
The database was restored and then successfully upgraded to the current DB2 release where you issued the RESTORE DATABASE command. |
The backup that you used to restore the database is from a previous DB2 release. After you restored the database, it was upgraded to the DB2 release where you issued the RESTORE DATABASE command. The user who issued the RESTORE DATABASE command is given DBADM authority to the database. If other users had DBADM authority prior to restore, the security administrator, who has SECADM authority, must grant DBADM authorization to these users. The RESTORE DATABASE command was completed successfully. The UPGRADE DATABASE command issued automatically after the database restore was also completed successfully. |
Perform post-upgrade tasks. |
|
SQL2556W |
The database was restored but did not include all of the logs required for rollforward recovery to a consistent point in time. |
A RESTORE DATABASE command was issued with the optional LOGTARGET path specified but the backup image did not contain all of the logs required for a successful rollforward recovery. |
To successfully complete rollforward recovery, supply all of the required log extents from a log archive or other location. |
|
SQL2560N |
The table space restore operation failed because the target database is not identical to the source database. |
You can restore a database or restore one or more table spaces in a database from a backup image into a target database using the RESTORE DATABASE command or the db2Restore API. There are some conditions that must be met to run a restore operation from a table space level backup. For example, the target database that is specified for the restore operation must meet one of the following conditions:
This message is returned when an attempt is made to perform a database restore operation or a table space-level restore operation to a target database that is neither the original database from which the backup image was created nor a newly-created database. |
Respond to this error in one of the following ways:
|
|
SQL2561W |
Warning! Rebuilding a database from a table space image or using a subset of table spaces. The target database will be overwritten. The restore utility also reports the following sqlcode sqlcode. |
The RESTORE utility was issued with the REBUILD option and either specified a table space image to restore or specified a list of table spaces to restore from a backup image. If the database does not already exist, it will be created using the table spaces available for restore and the same database attributes as those in the image. If the database already exists, the database will be overwritten using the table spaces available for restore and based on the sqlcode returned with this warning. If a subset of table spaces is restored from a non-recoverable database, the table spaces that were not part of the restore can never be recovered unless you do a complete database restore. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2563W |
The restore process completed successfully. However, one or more table spaces from the backup image were not restored. |
This message can be returned for different reasons, including the following examples:
|
|
|
SQL2565N |
The option specified for RESTORE is not allowed with the backup image provided. |
The database contained in the backup image is an existing database and does not match the database to be restored. The option you have specified for restore requires that the database being restored to is new or the same as in the backup image. The utility stops processing. |
Resubmit the command with the correct database name. |
|
SQL2566W |
The restore process has completed successfully, but one or more table spaces have their tables put in DRP/DRNP state. Check the db2diag log file for details. |
One or more table spaces have tables in DATALINK Reconcile Pending (DRP) or DATALINK Reconcile Not Possible (DRNP) because of one of the following reasons:
|
Look in the administration notification log to find out what tables are put in DRP/DRNP state. See the Administration Guide for information on reconciling tables that are in DRP/DRNP state. |
|
SQL2570N |
An attempt to restore on target OS target-OS from a backup created on source OS source-OS failed due to the incompatibility of operating systems or an incorrect specification of the restore command. Reason-code: reason-code. |
Possible reason codes are:
|
Responses for each reason code are:
|
|
SQL2571N |
An automatic restore is unable to proceed. Reason code: reason-code. |
An error was encountered during the automatic restore process. This error occurred during an incremental restore or during a rebuild of a database from table space images or from a subset of table spaces in a database image. The utility was unable to complete as intended. The utility stops processing. In the case of an incremental restore, this error is returned after the initial definitions have been restored and the processing of the required incremental restore set cannot be completed successfully. In the case of a rebuild, this error is returned after the initial target image has been restored and the processing of the remaining required restore set cannot be completed successfully. The error is a result of one of the following reason codes:
|
If this is an incremental restore or an incremental rebuild, issue a RESTORE INCREMENTAL ABORT command to clean up any resources that may have been created during processing. Perform a manual incremental restore to restore the database from this backup image. If this is a non-incremental rebuild then complete the rebuild, if necessary, by issuing table space restores against the remaining images required to rebuild the database as intended. See the diagnostic (db2diag) log files for additional information. |
|
SQL2572N |
Attempted an incremental restore of an out of order image. The restore of tablespace tablespace-name encountered an error because the backup image with timestamp timestamp-value must be restored before the image that was just attempted. |
When restoring images produced with an incremental backup strategy, restore the images in the following order:
Each tablespace in the backup image is aware of the backup image that must be restored before the backup image that failed can be successfully restored. You must restore the image with the timestamp reported in this message before you can successfully restore the image that invoked this message. There might be additional images to restore before the indicated image, but this was the first tablespace to encounter an error. |
Ensure the order of the set of incremental backup images is correct and continue the incremental restore process. |
|
SQL2573N |
An incremental backup image must be restored as part of an incremental RESTORE operation. |
A RESTORE operation was attempted using an incremental backup image. An incremental backup cannot be restored on its own; it can be restored only as part of an incremental RESTORE operation. The utility stops processing. |
To restore this backup image, reissue the RESTORE command using the INCREMENTAL modifier. To perform a non-incremental RESTORE operation, specify a non-incremental backup image. |
|
SQL2574N |
A backup image restored as part of an incremental RESTORE operation cannot be newer than the target image. |
The target image is the first image to be restored as part of an incremental RESTORE operation. This image contains the tablespace definitions and other control structures for the database that is being restored. The RESTORE utility cannot restore an image that is newer than the target image during an incremental RESTORE operation, because it could corrupt the database. The incremental RESTORE operation failed because it attempted to restore a backup image with a timestamp that is more recent than the timestamp of the target image. The utility stops processing. |
Reissue the command, specifying a backup image with a timestamp that is older than the timestamp of the target image. |
|
SQL2575N |
The timestamp of the specified incremental backup image is older than the timestamp of the last image that was restored for tablespace tablespace-number. The last backup image has a timestamp of timestamp. |
To perform an incremental RESTORE operation, the backup images must be restored in chronological order of oldest to newest for each tablespace. An incremental RESTORE operation specified a backup image with a timestamp older than the timestamp of the previous image that was restored for the specified tablespace. The utility stops processing. |
Reissue the command, specifying a backup image with a timestamp that is newer than the timestamp of the last image that was restored for the tablespace. |
|
SQL2576N |
The RESTORE command failed because the INCREMENTAL clause was not specified and the table space is involved in an incremental restore operation. Table space name: table-space-name. |
To perform a manual, cumulative restore operation you must issue the RESTORE command, specifying the INCREMENTAL clause, for each image involved in the restore operation. This message is returned when the RESTORE command is issued without the INCREMENTAL clause, but the utility detects that a previous incremental restore operation has not completed. |
To perform a manual, cumulative restore operation, issue the RESTORE command, specifying the INCREMENTAL clause, for each image involved in the restore operation. To abort the current manual incremental restore operation, issue the RESTORE command, specifying the INCREMENTAL ABORT clause. |
|
SQL2577N |
No library found for decompressing backup. |
The image being restored is a compressed backup, but no decompression library was specified and no library was found in the image. The RESTORE utility requires a plug-in library to decompress the backup. This library is typically stored in the backup image itself, but in this case the creator of the backup chose to exclude the library. The library name can also be specified as a parameter to the RESTORE utility. The utility stops processing. |
Resubmit the command, specifying the name of a library that can decompress the data in the image. |
|
SQL2578N |
The specified object was not found in the backup image. |
The specific object that was asked to be restored does not exist in the backup image. The RESTORE utility attempted to restore a single object from the backup image. No object of this type exists in the backup image. The backup history file and the decompression library are the objects that can be restored individually. The utility stops processing. |
Resubmit the command, specifying a backup image that does contain the object in question. |
|
SQL2580W |
Warning! Restoring logs to a path which contains existing log files. Attempting to overwrite an existing log file during restore will cause the restore operation to fail. |
The specified log target path contains at least one file with a name which matches the log filename format. If the restore operation later attempts to extract a log file of the same name, this will cause the restore to fail. |
Either remove the existing log files from the log target path, or otherwise ensure that the files which exist in the log target will not match the filenames of any logs to be extracted from this backup image. Then return the utility with a callerac parameter indicating that restore processing should either continue or terminate. |
|
SQL2581N |
Restore is unable to extract log files or restore a log directory from the backup image to the specified path. Reason code rc. |
An error occurred while attempting to extract a log file from the backup image. This could be because one of the following reasons:
|
|
|
SQL2582W |
Warning! A new request to rebuild the database from a table space image or using a subset of table spaces has been detected. This will abort the current rebuild in progress and start a new one using this backup image. The target database will be overwritten. |
The RESTORE utility was issued with the REBUILD option but it has detected that a rebuild of the database is already in progress. If this operation were to take place then it would abort the current rebuild in progress and start a new one using this backup image as the target. The database will be overwritten. Subsequent restore commands during the rebuild phase of the database should not be issued with the REBUILD option. |
Return to the utility with the callerac parameter indicating processing to continue or end. |
|
SQL2583N |
The intended restore command cannot be processed because a previous incremental restore is still in progress. |
The RESTORE utility has detected that a previous incremental restore operation has not completed. The intended restore command is not part of the previous incremental restore and cannot be processed unless the previous incremental restore is aborted. The utility stops processing. |
Issue a restore with the INCREMENTAL ABORT option and then reissue the intended restore command. |
|
SQL2584N |
A snapshot restore failed because the log directories must be restored but a valid LOGTARGET has not been specified. |
Snapshot backup enables you to use fast copying technologies for the data copying and movement parts of DB2 database backup and restore operations. The snapshot backup image must be restored as a whole. For this reason, when there are database logs in the snapshot backup image, they must be restored with the rest of the image. There are database logs in the snapshot backup image you are restoring, so they must be restored with the rest of the image. However, the path for the given log directory shares a path or storage device with other paths or storage devices used by the database being restored. It is not unusual for the path of the log directory to share a path or storage device with other database paths or storage devices. For example: when you create a database, the log directory is created under the main database directory by default. When a log path shares a path or storage device with other database paths or storage devices, a snapshot restore can not restore the log directory unless you specify the target location for the log directory using the LOGTARGET parameter. The snaphot restore failed because you did not specify a LOGTARGET, or because you specified an invalid LOGTARGET. |
Resubmit the RESTORE command using the LOGTARGET parameter. |
|
SQL2585N |
The selected backup image is for database dbalias taken at timestamp timestamp from instance instance-name. This backup image cannot be restored into the current instance. |
The backup image selected for restore is from an instance that does not match the current instance. Snapshot backup images can only be restored to the same instance name they were taken from. |
To find snapshot backup images that are available for the current instance, use the db2acsutil utility. To restore a given snapshot backup image:
|
|
SQL2590N |
The requested RESTORE operation cannot be completed because a schema transport error has occurred. Reason Code: rc. |
An error occurred while using the RESTORE DATABASE command with the TRANSPORT option to transport table spaces and schemas from a database backup image to a target database. The following reason code indicates the error:
|
Based on the reason code, perform the following actions:
|
|
SQL2600W |
The input parameter pointer to the authorization block is invalid or the block's size is incorrect. |
The pointer to the authorization structure parameter is NULL, the pointer to the authorization structure points to an area that is smaller than the length indicated in the structure length field, or the authorization structure length field is not set to the correct value. The command cannot be processed. |
Correct the value of the input parameter and resubmit the command. |
|
SQL2650N |
An invalid parameter parameter_name was passed to the API-name read log API. Reason Code = reason-code. |
An invalid parameter was passed to a read log API. The possible reason codes are as follows:
|
Based on the reason code, follow the instructions given:
|
|
SQL2651N |
The log records associated with the database can not be asynchronously read. |
The asynchronous read log API was used against a connected database which does not have LOG RETAIN or USER EXITS ON. Only databases which are forward recoverable may have their associated logs read. |
Update the database configuration for the database, identified to the asynchronous read log API, turning LOG RETAIN and/or USER EXITS ON. |
|
SQL2652N |
Insufficient memory to run the db2ReadLog or db2ReadLogNoConn API. |
The allocation of internal structures and buffers that are used by the db2ReadLog or db2ReadLogNoConn API has failed. |
Increase the amount of available memory that is available to the process (increase real or virtual memory, or remove unnecessary background processes). |
|
SQL2653W |
A Restore, Rollforward or Crash Recovery might have reused log sequence number ranges. Reason code reason-code. |
A Restore, Rollforward or Crash Recovery might have reused log sequence number ranges. The possible reason codes are as follows:
|
No action is required. |
|
SQL2654W |
The database log has been asynchronously read to the end of the current active log. |
All log records in the database active log have been read by the asynchronous log reader. |
No action is required. |
|
SQL2655N |
The Asynchronous Log Reader encountered log file name which is not associated with the database being asynchronously read. |
The Asynchronous Log Reader attempted to read log records from the specified log file. The specified log file is not associated with the database being asynchronously read. |
Remove this log file from the database log directory. Move the correct log file into the database log directory and resubmit the call to the Asynchronous Read Log API. |
|
SQL2656N |
The Asynchronous Log Reader has encountered log file name which cannot be read. |
The Asynchronous Log Reader attempted to read log records from the specified log file. The specified log file has been corrupted and cannot be read. |
Increase the start read log sequence and resubmit the call to the Asynchronous Read Log API to start reading after the specified log file. |
|
SQL2657N |
The log read operation failed because the log reader cannot find the log file named log-file-name in the log stream log-stream-id. |
You can read log records from the DB2 database logs, or query the log manager for information about the current state of logs using the db2ReadLog API. This message is returned when the db2ReadLog API is called, but the log reader cannot access log records from the indicated log file on the indicated log stream. One reason this can happen is because the log path was recently changed, using the newlogpath database configuration parameter, and the required log file is located in the old log path. |
|
|
SQL2701N |
Invalid command line option for progname. Reason code: reason-code. |
Command line option for the data splitting utility is not valid. Valid options are:
|
Given for each reason code:
|
|
SQL2702N |
Failed to open the configuration file config-file. |
The utility cannot read the configuration file config-file. |
Please ensure the configuration file exists and is readable. |
|
SQL2703N |
Failed to open the log file log-file. |
The utility cannot open the log file log-file for writing or appending. |
Please ensure the log file exists and is writable. |
|
SQL2704N |
Failed to open the input data file input-data-file. |
The utility cannot read the input data file input-data-file. |
Please ensure the input data file exists and is readable. |
|
SQL2705N |
Failed to open the input partitioning map file in-map-file. |
The utility cannot read the input partitioning map file in-map-file. |
Please ensure the input partitioning map file exists and is readable. |
|
SQL2706N |
Failed to open the output partitioning map file out-map-file. |
The utility cannot open the output partitioning map file out-map-file for writing. |
Please ensure the output partitioning map file is writable. |
|
SQL2707N |
Failed to open the distribution file dist-file. |
The utility cannot open the distribution file dist-file for writing. |
Please ensure the distribution file is writable. |
|
SQL2708N |
Failed to open the output data file out-data-file. |
The utility cannot open the output data file out-data-file for writing. |
Please ensure the output data file is writable. |
|
SQL2709N |
Syntax error at line line of the configuration file. |
There is a syntax error in the specification of a keyword and its argument. |
A keyword and its argument must be delimited by an '=' sign. |
|
SQL2710N |
Invalid keyword at line line of the configuration file. |
There is an undefined keyword in the configuration file. |
Valid keywords (case insensitive) are:
|
|
SQL2711N |
Invalid column delimiter (CDELIMITER) at line line of the configuration file. |
The column delimiter (CDELIMITER) specified in the configuration file is not valid. |
Make sure the column delimiter (CDELIMITER) is a single byte character. |
|
SQL2712N |
Invalid string delimiter (SDELIMITER) at line line of the configuration file. |
The string delimiter (SDELIMITER) specified in the configuration file is not valid. |
The string delimiter (SDELIMITER) cannot be a period. |
|
SQL2713N |
Invalid run type (RUNTYPE) at line line of the configuration file. |
The value for run type (RUNTYPE) specified in the configuration file is not valid. |
Valid run type (RUNTYPE) can be either PARTITION or ANALYZE (case insensitive). |
|
SQL2714N |
Invalid message level (MSG_LEVEL) at line line of the configuration file. |
The value for message level (MSG_LEVEL) specified in the configuration file is not valid. |
Valid message level (MSG_LEVEL) can be either CHECK or NOCHECK (case insensitive). |
|
SQL2715N |
.Invalid check level (CHECK_LEVEL) at line line of the configuration file. |
The value for check level (CHECK_LEVEL) specified in the configuration file is not valid. |
Valid check level (CHECK_LEVEL) can be either CHECK or NOCHECK (case insensitive). |
|
SQL2716N |
Invalid record length (RECLEN) reclen at line line of the configuration file. |
The value for record length (RECLEN) reclen specified in the configuration file is not valid. |
The record length (RECLEN) must be between 1 and 32767. |
|
SQL2717N |
Invalid node specification (NODES) at line line of the configuration file. Reason code reason-code. |
The node specification (NODES) in the configuration file is not valid. |
Given for each reason code:
|
|
SQL2718N |
Invalid output node specification (OUTPUTNODES) at line line of the configuration file. Reason code reason-code. |
The output node specification (OUTPUTNODES) in the configuration file is not valid. |
Given for each reason code:
|
|
SQL2719N |
Invalid output type (OUTPUTTYPE) at line line of the configuration file. |
The output type (OUTPUTTYPE) in the configuration file is not valid. |
Valid output types (OUTPUTTYPE) are W (write) or S (stdin), case insensitive. |
|
SQL2720N |
Number of partition keys exceeded the maximum "256". This error was detected at line line of the configuration file. |
The number of partitioning keys defined cannot exceed the maximum limit: 256. |
Remove one or more partitioning keys defined in the configuration file. |
|
SQL2721N |
Invalid partitioning key specification (PARTITION) at line line of the configuration file. Reason code reason-code. |
A partitioning key specification (PARTITION) in the configuration
file is not valid. Valid format:
If a delimited-data file, <position> must be defined; otherwise, <offset> and <len> must be defined. |
Given for each reason code:
|
|
SQL2722N |
Invalid log file specification (LOGFILE) at line line of the configuration file. |
The log file specification (LOGFILE) in the configuration file is not valid. |
The log file specification (LOGFILE) must be in one of the following two formats:
<log type> can only be W (write) or A (append), case insensitive. |
|
SQL2723N |
Invalid trace specification (TRACE) at line line of the configuration file. |
The trace specification (TRACE) in the configuration file is not valid. |
The trace specification (TRACE) must be a positive integer between 0 and 65536 (exclusive). |
|
SQL2724N |
Invalid node list specification. |
The node list specification is not valid. |
One and only one of the two parameters: NODES and MAPFILI (input partition map) must be specified in the configuration file. |
|
SQL2725N |
Filename for output partition map was not specified. |
If run type is ANALYZE, a filename for the output partition map must be defined. |
Specify a filename for the output partition map. |
|
SQL2726N |
There is no partitioning key defined. |
At least one partitioning key must be defined. |
Specify one or more partitioning keys. Altering the distribution key can only be done to a table whose table space is associated with a single-partition database partition group. You can add or drop distribution keys, using the ALTER TABLE statement. |
|
SQL2727N |
Partition key key-name exceeds the record length reclen. |
For non-delimited data, starting position for a key must be less than the record length. |
Make sure starting position for a key is less than the record length. |
|
SQL2728N |
Output node out-node is not defined in the node list. |
Output node list must be a subset of the node list, which is derived from NODES or the input partition map file. |
Make sure all output nodes are defined in the node list. |
|
SQL2729N |
Invalid partitioning map file. Reason code: reason-code. |
There is at least one error in the partitioning map file. The specific error is indicated by the reason code:
|
|
|
SQL2730N |
Error while writing header to output data file out-data-file. |
An I/O error occurred while writing the header to an output data file. |
Check your operating system documentation for file I/O errors and ensure that there is sufficient space on the output device. |
|
SQL2731N |
Error while reading from input data file filename. |
An I/O error occurred while reading from input data file. |
Check your operating system documentation for file I/O errors. |
|
SQL2732N |
Line line of the input data file contains binary data. |
Binary data is not permitted on the host versions of this utility program. |
Check your input data file. |
|
SQL2733N |
Run type (RUNTYPE) was not defined in the configuration file. |
The run type (RUNTYPE) must be defined as either PARTITION or ANALYZE. |
Please specify run type (RUNTYPE) in the configuration file. |
|
SQL2734N |
Invalid specification for parameter 32KLIMIT at line line of the configuration file. |
The specification for parameter 32KLIMIT in the configuration file is not valid. |
Parameter 32KLIMIT can be either YES or NO, case insensitive. |
|
SQL2735W |
The record rec-no of the input data file was discarded because it was an empty record. |
The record rec-no of the input data is discarded because it contains nothing but spaces. |
Check record rec-no in the input data file. |
|
SQL2736N |
sqlugrpi_api returned an error when processing record at line line of the input data file. |
Partitioning key fields contain invalid data. |
Check the input data file at line line. |
|
SQL2737N |
Failed to write output data file for output node out-node when processing record at line line of input data file. |
An I/O error occurred while writing a record to the output data file for node out-node. |
Check your operating system documentation for file I/O errors and ensure that there is sufficient space on the output device. |
|
SQL2738W |
Record at line line of input data file has been truncated when writing to the output data file for node out-node. Expected writing length is reclen while actual writing length is real-len. |
Expected writing length (RECLEN) does not match the actual writing length. |
Adjust record length value defined in the configuration file. |
|
SQL2739N |
The record length was not specified for a binary numerical data file. |
If a binary numerical input data file, the record length has to be defined. |
Please specify the record length in your configuration file. |
|
SQL2740N |
Float data type is not allowed in a non-binary input data file. |
Float data type is only supported when the file type is BIN (binary). |
Make sure data types and the type of input data file match. |
|
SQL2741N |
Invalid file type specification at line line of the configuration file. |
The file type specification (FILETYPE) in the configuration file is not valid. |
Valid values for the file type parameter are as follows:
All the values are case insensitive. |
|
SQL2742N |
The length of partition key partition-key does not match its precision. |
In a binary input data file, the length of a partition key with decimal data type must conform to the equation: LENGTH=(PRECISION+2)/2 (integer division), because it is a packed decimal. |
Match the length of a decimal-typed partition key with its precision if the input data file is a binary data file. |
|
SQL2743N |
The length of partition key partition-key does not match its data type. |
In a binary input data file, the length of a partition key with integer, small integer, float, and double data type must be a predefined constant, i.e. 4 for integer, 2 for small integer, 4 for float, and 8 for double. |
Check partition key definitions in the configuration file. |
|
SQL2744N |
Illegal file name specification for file at line line of the configuration file. |
The maximum length for a file name is 80 bytes. |
Check the configuration file. |
|
SQL2745N |
Invalid NEWLINE flag at line line of the configuration file. |
The NEWLINE flag must be either YES or NO, and if not given, it is NO. |
Check the specification of NEWLINE flag in the configuration file. |
|
SQL2746N |
An incomplete record was found while reading record record-number from the input data file. |
If a fixed-length positional ASC file or a binary numerical data file, each record has to be exactly the same length as the value of the RECLEN parameter in the configuration file. |
Make sure the input data file is complete. |
|
SQL2747N |
A record was too long while reading record rec-no from the input data file. |
For a positional ASC input data file or a delimited data file with parameter 32KLIMIT on, the maximum record length can not exceed the 32k (bytes) limit. |
Check your input data file and make sure the record length is less than 32k bytes. |
|
SQL2748N |
Record record-number has a length of length bytes, which is too short to hold the partitioning key key. |
For a positional ASC input data file or a binary numerical data file, each record has to be long enough to hold all partitioning keys. |
Check the record length of your input data file. |
|
SQL2749N |
Partitioning key key-no of record rec-no was not in the first 32k bytes of the record. |
If a record is greater than 32k bytes long in a delimited data file, all partitioning keys of each record have to be within the first 32k bytes of the record. |
Check record rec-no in the input data file. |
|
SQL2750N |
The length of line line-number in the configuration was more than 255 bytes. |
The maximum length of a line in the configuration file must be less than 255 bytes. |
Check your configuration file and make sure all lines are less than 255 bytes. |
|
SQL2751N |
The actual length actual-reclen of record rec-no did not match the expected length exp-reclen. |
If new line checking is required for a fixed length ASC data file (NEWLINE parameter is YES and RECLEN parameter is not zero), the actual length of each record has to match the expected record. |
Check record rec-no in the input data file. |
|
SQL2752N |
Invalid codepage specification codepage at line line of the configuration file. |
The codepage specification is not valid. It must be a positive integer. |
Correct the codepage specification in the configuration file. |
|
SQL2753N |
Failed to get the territory code and codepage for the application. Return code from function function-name is rc. |
The program failed to get the territory code and codepage of its environment. |
Check with your database system administrator. |
|
SQL2754N |
Codepage source-cp cannot be converted to codepage target-cp. |
The database does not support codepage conversion between those two codepages. |
Please ensure your data is in a convertible codepage. |
|
SQL2755N |
Decimal data can not be in both IMPLIEDDECIMAL and PACKEDDECIMAL format. |
Valid format of decimal data is SQL_PACKEDDECIMAL_FORMAT, SQL_CHARSTRING_FORMAT, or SQL_IMPLIEDDECIMAL_FORMAT, mutually exclusive. |
Verify the format of your decimal data, correct the format value, and resubmit the command. |
|
SQL2756N |
The configuration parameter named parameter-name could not be updated because another request to update the same configuration parameter is currently in progress. |
A cluster caching facility (CF) structure is a memory resource for a database in a DB2 pureScale environment. The CF structures include Group Buffer Pool (GBP), Shared Communication Area (SCA), and Lock (LOCK). The corresponding configuration parameters for CF structures are CF_GBP_SZ, CF_SCA_SZ, and CF_LOCK_SZ, respectively. The database configuration parameter named CF_DB_MEM_SZ controls the total CF memory limit for this database. All CF structure memory is included within this limit. If the value of the database configuration parameter named parameter-name exceeds the parameter value of CF_DB_MEM_SZ, the request cannot be completed and the operation will time-out. This message is returned when an update to CF structure memory has not completed and another request is made to update the memory for the same CF structure. |
View the update request that is pending for the CF structure using the GET DB CFG command with the SHOW DETAIL clause. Ensure the values for memory of all CF structures are lower than the value of CF_DB_MEM_SZ. Wait for the update request that is pending to complete or time-out. sqlcode: -2756 sqlstate: 5U052 |
|
SQL2761N |
Only one of table name or database partition group can be specified. |
Specify either the table name or the database partition group name, but not both. |
Check your command line options. |
|
SQL2762N |
The utility failed to find the database installation path. |
The utility needs to know where the database manager is installed, then it can find its bind file. |
Make sure your database manager is properly installed. |
|
SQL2763N |
The table tbl-name was not found. |
The table tbl-name cannot be located in sysibm.systables. |
Make sure the table exists in the database. |
|
SQL2764N |
The database partition group db-partition-group was not found. |
The database partition group db-partition-group cannot be located in SYSCAT.DBPARTITIONGROUPDEF. |
Make sure the database partition group exists in the database. |
|
SQL2765W |
The utility failed to open output partition map file out-map-file. |
The utility cannot open the output partition map file for writing. It will write the output to stdout. |
Check your file access permissions. |
|
SQL2766N |
The partition map is not of the correct size map-size. |
The size of the partition map is not correct. Data is corrupted in the database. |
Contact the Database Administrator to resolve the problem. |
|
SQL2767N |
A command line option is not valid. |
There is an invalid command line option. |
Make sure to specify the correct command line options. |
|
SQL2768N |
The deprecated-API API is deprecated and is replaced by the replacement-API API. |
The distribution map has been expanded from 4096 entries to 32768 entries, and cannot be returned by the deprecated API. |
Use the replacement API instead of the deprecated API. |
|
SQL2796N |
An incorrectly partitioned record was found. |
While running the load utility in the LOAD_ONLY partitioning mode, data file records were found that do not match the database partition that the records were being loaded into. |
Verify the records in the data file for each database partition and ensure that each record is being loaded in the intended database partition. You can accomplish this task by placing the records in a separate file and invoking the load utility against it using the PARTITION_ONLY partitioning mode. By doing this, records will be grouped by their destination database partition. |
|
SQL2800N |
CREATE, DROP, or CHANGE NODE failed. Reason code reason-code. |
The utility failed to add, drop, or change the database partition because the input parameters specified are invalid as indicated by the reason code:
|
The action corresponding to the reason code is:
|
|
SQL2801N |
The syntax of the DB2NCRT command is incorrect. |
The DB2NCRT utility creates a new node in a partitioned database
system.
The command arguments are:
The command options are:
|
Enter the command again using valid parameters. |
|
SQL2802N |
The syntax of the DB2NCHG command is incorrect. |
The DB2NCHG utility changes or updates node configuration for
a given node in a partitioned database system.
The command options are:
|
Issue the DB2NCHG command with one of the valid command options. |
|
SQL2803N |
The syntax of the DB2NDROP command is incorrect. |
The DB2NDROP utility drops a node from a partitioned system.
The command options are:
|
Issue the DB2NDROP command with one of the valid command options. |
|
SQL2804N |
The syntax of the DB2NLIST command is incorrect. |
The DB2NLIST utility list all nodes in a partitioned system.
The command options are:
|
Issue the DB2NLIST command with one of the valid command options. |
|
SQL2805N |
A service error has occurred. Reason code reason-code. |
An error has occurred during an attempt to create, drop, or add a database partition. The reason code indicates the reason for the error:
|
The action corresponding to the reason code is:
|
|
SQL2806N |
Node node not found for instance instance. |
DB2NDROP failed because the node does not exist. |
Ensure the node number is correct and reissue the command. |
|
SQL2807N |
Node node already exists for instance instance. |
DB2NCRT failed because the node already exists. |
Ensure the node number is correct and reissue the command. |
|
SQL2808W |
Node node for instance instance has been deleted. |
The DB2NDROP processing has completed successfully. |
No further action is required. |
|
SQL2809W |
Node: node added to instance: instance {Host: host-name Machine: machine-name Port: port-num} |
The DB2NCRT processing has completed successfully. |
No further action is required. |
|
SQL2810W |
Node: node changed in instance: instance {Host: host-name Machine: machine-name Port: port-num} |
The DB2NCHG processing has completed successfully. |
No further action is required. |
|
SQL2811N |
The command is invalid because the instance is not a partitioned database instance. |
The command is only valid if the instance is a partitioned database instance. |
Ensure that the specified instance name is valid. If the instance name is not specified on the command line, ensure that the DB2INSTANCE environment is set to a valid partitioned database instance. |
|
SQL2812N |
An invalid argument was entered for the db2drvmp command. |
Usage:
Valid arguments for this command are:
|
Enter the command again using valid arguments. |
|
SQL2813I |
The drive mapping from drive drive-1 to drive drive-2 was added for node node. |
The drive mapping was added successfully. |
No action necessary. |
|
SQL2814I |
The drive mapping from drive drive was deleted for node node. |
The drive mapping was deleted successfully. |
No action necessary. |
|
SQL2815I |
The drive mapping for node node is: drive-1 - drive-2. |
Informational message. |
No action necessary |
|
SQL2900W |
The ingest utility will not be able to pre-partition the input records. Reason code: reason-code |
The ingest utility uses the distribution key to determine the partition number and routes input records to one of that partition's flushers. Because of the condition that the reason code specifies, the ingest utility will route records to a random flusher. The reason codes are:
|
If this has a negative performance impact, modify the configuration parameter or INGEST command, depending on the reason code:
|
|
SQL2901I |
The ingest utility completed at timestamp timestamp. Number of errors: number. Number of warnings: number. Message file: file-name. |
The ingest utility completed successfully, but returned some errors or warnings. Refer to the specified messages file to determine what those errors or warnings are. The number of errors includes errors from which the utility could not recover, but does not include errors from which the utility recovered. |
If you do not want to receive this message in the future, correct the cause of the errors or warnings. |
|
SQL2902I |
The ingest utility completed at timestamp timestamp. Number of errors: number. Number of warnings: number. |
The ingest utility completed successfully, but returned some errors or warnings. The number of errors includes errors from which the utility could not recover, but does not include errors from which the utility recovered. |
If you do not want to receive this message in the future, correct the cause of the errors or warnings. |
|
SQL2903W |
Configuration parameter parameter has been automatically adjusted to the following value: value. Reason code= reason-code |
The INGEST SET or INGEST command completed successfully, but a user-specified configuration parameter was overridden. If this message is issued for an INGEST SET command, the overriding value remains in effect for the remainder of the CLP session. If this message is issued for an INGEST command, the overriding value remains in effect only for the INGEST DATA command. The explanation corresponding to the reason code is:
|
The user response corresponding to the reason code is:
|
|
SQL2904W |
The field value at line number line-number and byte position byte-position was truncated because the data is longer than the field length. |
The specified field has a value that is longer than the field's length. The value has been truncated. For example, if the field is defined as CHAR(3) but the value is "ABCDEF", the value is truncated to "ABC". |
If the truncation is acceptable, no further action is required. To avoid this message, specify a longer field length on the INGEST command or edit the input data so that the length of the field value is less than or equal to the length of the field. |
|
SQL2905I |
The following error occurred issuing the SQL sql-statement statement on table table-name using data from line line-number of input file file-name. |
This message provides the identification of the line and input file where the error occurred for the following message listed. The table is either the one specified on the SQL statement of the INGEST command or the exception table. If the table is the one specified on the SQL statement, and the SQL statement is INSERT or REPLACE, and the INGEST command specified an exception table, the ingest utility attempts to insert the record into the exception table. Otherwise, the ingest utility discards the record. |
If the error occurred issuing the SQL statement on the target table of the INGEST command and the ingest utility successfully inserted the row into the exception table, correct the data in the exception table and copy it from the exception table to the target table. Otherwise, verify that the data on the specified line in the input file is correct. If needed, correct the data in the input file and re-run the ingest utility using an input file with only the corrected lines. |
|
SQL2906I |
The following error occurred issuing the SQL sql-statement statement on table table-name using data from line line-number of pipe pipe-name. |
This message provides the identification of the line and input pipe where the error occurred for the following message listed. The table is either the one specified on the SQL statement of the INGEST command or the exception table. If the table is the one specified on the SQL statement, and the SQL statement is INSERT or REPLACE, and the INGEST command specified an exception table, the ingest utility will attempt to insert the record into the exception table. Otherwise, the ingest utility will discard the record. |
No action is required. |
|
SQL2907I |
The following error occurred issuing the SQL sql-statement statement on table table-name using data from line line-number of TCP/IP port port-number. |
This message provides the identification of the line and input TCP/IP port where the error occurred for the following message listed. The table is either the one specified on the SQL statement of the INGEST command or the exception table. If the table is the one specified on the SQL statement, and the SQL statement is INSERT or REPLACE, and the INGEST command specified an exception table, the ingest utility will attempt to insert the record into the exception table. Otherwise, the ingest utility will discard the record. |
No action is required. |
|
SQL2908I |
The following warning or error occurred while formatting data from line line-number received from pipe pipe-name. |
This message provides the identification of the input pipe where the error occurred for the following message listed. |
No action is required. |
|
SQL2909I |
The following warning or error occurred while formatting data from line line-number received from TCP/IP port port-number. |
This message provides the identification of the input TCP/IP port where the error occurred for the following message listed. |
No action is required. |
|
SQL2910N |
The use of modifier modifier is not consistent across all fields of type field-type. |
When modifiers are specified on a field, they must be specified on all fields that have a similar type. For example: If a decimal field specifies RADIX POINT, the same RADIX POINT character must be specified on all other INTEGER, DECIMAL, DECLFOAT, and FLOAT fields. If a format string is specified on a DATE field, the same format string must be specified on all other DATE fields. If an INTEGER field specifies EXTERNAL, then EXTERNAL must be specified on all other INTEGER, DECFLOAT, and FLOAT fields. (Fields of type DECIMAL, however, can specify PACKED or ZONED. But all fields of type DECIMAL must specify the same EXTERNAL, PACKED, or ZONED modifier as all other DECIMAL fields.) |
Reissue the INGEST command, specifying the modifiers on all fields of a similar type. |
|
SQL2911N |
Binary field types can be specified only when the format is POSITIONAL. |
The INGEST command specified a binary field type, but the input file format is not POSITIONAL. The command failed. |
One of the following:
|
|
SQL2912N |
The ingest utility failed because one or more fields are binary type but the length of those binary fields was not specified. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. If any input fields are a binary data type, the length of those binary fields must be specified with the INGEST command or db2Ingest API call. This message is returned when an attempt is made to ingest data that contains binary fields and the length of those binary fields is not specified. |
Perform the ingest operation again, specifying the length of any binary fields. |
|
SQL2913N |
Field field-name does not specify the end position or the length. |
INGEST commands that specify FORMAT POSITIONAL must specify or imply the field length, or the POSITION parameter must specify the end position. The command failed. |
Reissue the INGEST command and specify either the end position of the field or the field length. |
|
SQL2914I |
The ingest utility has started the following ingest job: job-ID. |
The ingest utility is starting. The job ID is the one specified on the RESTART parameter or if none was specified, a default job ID that the utility generated. The job ID can be used on the INGEST GET STATS command while the INGEST command is running. If the INGEST command fails, the job ID can be used on a later INGEST command with the RESTART CONTINUE or RESTART TERMINATE parameter. |
Save the job ID in case it is needed for a later command. |
|
SQL2915N |
The sum of all the field lengths is number, but the specified record length is only length. |
The length specified by RECORDLEN on the INGEST command must be greater than or equal to the sum of the field lengths specified on each field definition. The command failed. |
Correct the field lengths or the RECORDLEN parameter. |
|
SQL2916N |
The ingest utility failed because the specified SQL statement does not reference any fields. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. How the ingest utility modifies the target table is controlled by specifying an SQL statement with the INGEST command or db2Ingest API call. This message is returned when an attempt is made to perform an ingest operation with an SQL statement that references no fields. |
Modify the SQL statement to include at least one field, and then perform the ingest operation again. |
|
SQL2917N |
The ingest operation failed because the SHM_MAX_SIZE configuration parameter is too small. |
You can specify the maximum size of Inter Process Communication (IPC) shared memory by setting the SHM_MAX_SIZE ingest utility configuration parameter. This message is returned when the ingest operation fails because the SHM_MAX_SIZE configuration parameter is not large enough. |
|
|
SQL2918N |
Invalid combination of keywords, keyword1 and keyword2, specified in the INGEST command. |
The INGEST command failed because of an invalid combination of keywords. |
Remove the conflicting keywords and reissue the command. |
|
SQL2919N |
The ingest utility failed because the following unsupported table type was specified: table-type. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can stream data into multiple types of tables, including the following examples:
This message is returned when an attempt is made to ingest data into a type of table that the ingest utility does not support. |
Perform the ingest operation again, specifying a supported table type. |
|
SQL2920N |
The clause clause does not reference any fields. |
An INGEST command that specifies an SQL statement that uses a WHERE or ON clause must include a search condition that specifies at least one field. The command failed. |
Reissue the INGEST command specifying a search condition. |
|
SQL2921N |
The ingest utility failed because a specified field name is not defined in the input source. Field name: field-name. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can specify to the ingest utility how the data is defined in the input stream by describing the fields into which the data is separated. This message is returned when an attempt is made to perform an ingest operation with an SQL statement that references a data field that does not exist in the input source data. |
Perform the ingest operation again, specifying fields that correspond to the fields in the input data stream. |
|
SQL2922I |
The following warning or error occurred while formatting data from line line-number of input file file-name. |
This message provides the identification of the input file where the error occurred for the following message listed. |
No action is required. |
|
SQL2923N |
The ingest utility failed because the following invalid field type was specified: invalid-type |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can specify the data type of input fields when you invoke the ingest operation. This message is returned when an invalid field type is specified. |
Perform the ingest operation again, specifying a supported field type. |
|
SQL2924N |
Field field-name specifies the DEFAULTIF parameter, but its corresponding column column-name is a generated column. |
Fields that specify the DEFAULTIF parameter cannot be used in a predicate or in an expression. The command failed. |
Change how the field is used in the SQL statement or remove the DEFAULTIF parameter, and reissue the command. |
|
SQL2925N |
The ingest utility failed because the field field-name specifies the DEFAULTIF parameter, but the corresponding column column-name does not have a default value. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can cause the ingest utility to insert a default value into the target table whenever a certain character appears in the input data by using the DEFAULTIF parameter. If the DEFAULTIF parameter is specified with a field definition, the column that corresponds to that field must have a default value. This message is returned when the DEFAULTIF parameter is specified but the corresponding target table column does not have a default value. |
Respond to this message in one of the following ways:
|
|
SQL2926N |
The ingest operation failed because the field field-name specifies the DEFAULTIF parameter, but the corresponding column column-name has a default value that is not a constant or NULL. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can cause the ingest utility to insert a default value into the target table whenever a certain character appears in the input data by using the DEFAULTIF parameter. If the DEFAULTIF parameter is specified with the ingest utility, the default value of the corresponding target table column must be a constant or NULL. This message is returned when the DEFAULTIF parameter is specified but the default value of the corresponding target table column is neither constant nor NULL. |
Change how the field is used in the SQL statement or remove the DEFAULTIF parameter, and resubmit the ingest operation. |
|
SQL2927N |
The field value in line line-number and field field-number cannot be converted to the value type: value-type. |
There might be a data type mismatch because the value in the specified field cannot be converted to the field's data type. |
Correct the input file or change the field's type, and reissue the command. |
|
SQL2928N |
The ingest operation failed because the specified input source is not a named pipe. Specified input source: input-source. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. This message is returned when an attempt is made to invoke the ingest utility, but the specified input source is not a file or named pipe. |
Perform the ingest operation again, specifying a valid input source. |
|
SQL2931N |
An error occurred opening, reading, or closing the following named pipe: pipe-name. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. This message is returned when the ingest utility could not open, read from, or close the specified input file or named pipe. |
Verify the input source and then perform the ingest operation again, specifying a valid input source. |
|
SQL2932N |
The ingest utility failed to allocate an interprocess communication (IPC) resource after number attempts. Resource type resource-type-code. |
The ingest utility failed to allocate an interprocess IPC resource after the specified number of attempts. The resource type can be one of the following:
This message normally follows earlier messages that indicate the error or errors that occurred when trying to allocate the resource. |
Examine previous error messages to determine the errors that occurred. Correct the errors and re-run the INGEST command. On Linux and UNIX, if there are not enough system resources to allocate the IPC resource, use the ipcrm command to remove existing IPC resources. |
|
SQL2933N |
The INGEST command has not received any data within seconds seconds as required by the configuration parameter parameter. |
The INGEST command failed. If the parameter is PIPE_TIMEOUT, the INGEST command did not receive any data from the pipe for at least the specified number of seconds after the command opened the pipe. |
Verify there is not a problem with the data source that is preventing it from sending data within the specified time. If the data source needs more time to send data, increase the value of the relevant configuration parameter, or set it to 0 so there is no timeout. |
|
SQL2934N |
Port number port-number to which service name service-name maps is outside the following range of allowable values: start-of-range to end-of-range. |
The port number specified (or resolved to) in the INGEST command must be within the allowable range. The INGEST command failed. |
Reissue the INGEST command, specifying a port within the allowable range or a service name that maps to a port number that is within the range. |
|
SQL2935W |
The ingest operation did not fail. However, the field value at line number line-number and field number field-number was truncated because the data is longer than the field length. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can specify the properties such as data type or length of input fields when you invoke the ingest operation. When a field has a value that is longer than the defined length of the field, the value will be truncated. For example, if the field is defined as CHAR(3) but the value is "ABCDEF", the value is truncated to "ABC". This message is returned when an input field has a value that is longer than the defined length of the field. |
If the truncation is acceptable, no further action is required. To avoid this message, take one of the following actions:
|
|
SQL2936N |
Port number port-number at host host-name is already in use. |
The INGEST command cannot use that port because it is being used by another running application. The INGEST command failed. |
Reissue the INGEST command, specifying a port that is not in use. |
|
SQL2937N |
The DEFAULTIF clause on field field-name specifies a position but the format is not positional. |
The INGEST command specified the DEFAULTIF clause, but the input file format is not POSITIONAL. The command failed. |
One of the following:
|
|
SQL2938N |
The beginning-ending location pair begin, end for field field-name is not valid. Reason code reason-code. |
The field specification for locating the input data for the indicated database column within the input non-delimited ASCII file is not valid for the reason indicated by the following reason codes:
The INGEST command failed. |
Follow the action indicated by the reason code and resubmit the command:
|
|
SQL2939N |
The value value for command parameter parameter is outside the following range of allowable values: start-of-range to end-of-range. |
The current value for the indicated command parameter is not valid because it is outside the allowable range. The command failed. |
Reissue the command, specifying a value for the command parameter that is within the allowable range. |
|
SQL2940N |
The ingest utility does not support database server versions earlier than version version. |
The ingest utility does not support ingesting data into tables that are on versions of the database server earlier than the version shown in the message. |
Connect to a database server whose version is the same as or later than the version shown in the message and re-run the utility. |
|
SQL2941N |
The length, precision, or scale value for field field-name is not valid. |
The field type on the field definition specifies a length, precision, or scale that is not valid. Examples of this error are:
|
Correct the length, precision, or scale on the field definition. |
|
SQL2942N |
Field field-name specifies the DEFAULTIF clause, but is associated with multiple columns or used in an expression. |
When a field definition specifies DEFAULTIF, the field must be assigned to one and only one column and cannot be part of an expression that is assigned to that column. For example, consider the following INGEST command:
Only $field1 can specify DEFAULTIF. $field2 cannot because it is assigned to multiple columns. $field3 cannot because it is also used in a predicate. $field4 and $field5 cannot because they are used in an expression. |
Remove the DEFAULTIF modifier or change the SQL statement so that the field is assigned to one and only one column and is not part of an expression assigned to that column. |
|
SQL2943N |
The ingest utility cannot update the table because all updated columns in the SQL statement are defined as GENERATED ALWAYS. |
When either of the following is true, the ingest utility cannot insert into or update the table:
|
Change the command to specify at least column that is not defined as GENERATED ALWAYS. |
|
SQL2944N |
The ingest operation failed because the number of fields is not the same as the number of specified or implied target table columns. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. How the ingest utility modifies the target table is controlled by specifying an SQL statement with the INGEST command or db2Ingest API call. When the ingest utility is used with an INSERT statement that does not have a VALUES clause, the number of fields must be the same as the number of specified or implied table columns. (The number of implied columns is the number of non-hidden columns in the table.) For example, the following INGEST command is not valid because two fields are specified but there are three columns: |
Perform the insert operation again, specifying the same number of fields as the number of specified or implied table columns, or add the VALUES clause to the INSERT statement. |
|
SQL2945N |
Fields of type DB2SECURITYLABEL must specify NAME or STRING for delimited files. |
When the INGEST command specifies FORMAT DELIMITED, every field of type DB2SECURITYLABEL must specify the NAME or STRING modifier. |
Add the NAME or STRING modifier to every field of type DB2SECURITYLABEL. |
|
SQL2946N |
The INGEST command must include the field list for this file format. |
The INGEST command can omit the field list only when the format is delimited. If the format is positional, you must specify the field list. |
Add the field list to the INGEST command. |
|
SQL2947N |
Ingest job with identifier job-id not found. |
The command failed because the ingest job with the specified identifier was not found. |
|
|
SQL2948N |
The ingest utility failed because the data type of a column in the target table is not supported with the ingest operation. Data type: data-type. Column name: column-name. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. There are some restrictions on the data types that are supported with the ingest utility. This message is returned when an attempt is made to ingest data into a column that is an unsupported data type. |
Alter the INGEST command or db2Ingest API call so that the unsupported column is not included in the ingest operation, and then perform the ingest operation again. |
|
SQL2949N |
The value assigned to a column or used in a predicate is too long or out of range. |
This message is preceded by a message that identifies the input source name and line number. One of the fields in the specified input record is too long or out of range for the table column. |
Specify a different table or edit the input data so that:
|
|
SQL2950N |
The base tables of view view-name are protected by more than one security policy. |
When you ingest into an updateable view and the view has multiple base tables, all the base tables that are protected by a security policy must be protected by the same security policy. |
One of the following:
|
|
SQL2951N |
The ingest operation failed because the following security policy was not found: security-policy-ID. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. A security administrator can use security policies to define criteria that determine who has write access and who has read access to individual rows and individual columns of tables. This message is returned when an attempt is made to ingest data into a table that is protected by a security policy but catalog view SYSCAT.SECURITYPOLICIES has no security policy with that ID. |
Alter the table so that it is protected by a valid security policy and then run the ingest operation again. |
|
SQL2952N |
Code page code-page is not a valid code page, not compatible with the client code page, or not supported by the INGEST command. |
The INPUT CODEPAGE parameter on the INGEST command specifies a code page number that is not valid for one of the following reasons:
|
Correct the code page number on the INPUT CODEPAGE parameter and reissue the command. |
|
SQL2953N |
The field value in line line-number starting at byte position number cannot be converted to the value type: field-type. |
There might be a data type mismatch because the field value at the specified byte position cannot be converted to the field's data type. |
Correct the input file or change the field's type and reissue the command. |
|
SQL2954N |
The ingest operation failed because more than the allowable number of field definitions were specified. Allowable number of field definitions: maximum-number. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can specify a list of field definitions for the ingested data, but there is an upper limit to the number of field definitions that you can specify. The maximum allowable number of field definitions is given in the runtime token maximum-number. This message is returned when an attempt is made to specify more field definitions than the ingest utility can support. |
Perform the ingest operation again, specifying no more than the given maximum allowable number of field definitions. |
|
SQL2955N |
The ingest utility could not find file filename. |
A file that the ingest utility requires could not be found. The installation of the DB2 Data Server Client or DB2 Data Server Runtime client might be incomplete or damaged. |
Reinstall the DB2 Data Server client or the DB2 Data Server Runtime client. |
|
SQL2956N |
The ingest operation failed because invalid input was specified. Structure: structure-name. Field: field-name. Value: value. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can specify to the ingest utility how the data is defined in the input stream by passing data structures such as db2IngestStruct, db2IngestCfgList, and db2IngestFormat to the db2Ingest API call. This message is returned when an invalid value is specified for a field in one of the input data structures. |
Call the db2Ingest API again, specifying valid values for the input data structures. |
|
SQL2957N |
The ingest operation failed to restart because the ingest utility could not find the restart log table. Restart log table name: table-name. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. If the ingest utility fails before completing, you can restart the ingest operation from the last commit point. To make an ingest operation restartable, a restart log table must be created before the ingest operation is initiated. This message is returned when an attempt is made to restart the ingest utility but the ingest utility could not find the restart log table. |
|
|
SQL2958N |
The INGEST command cannot restart because one of the following does not match the original INGEST command: the number of input sources, or the setting of NUM_FLUSHERS_PER_PARTITION. Original number of input sources: number-of-input-sources. Original value of NUM_FLUSHERS_PER_PARTITION: number-of-flushers. Current number of input sources: number-of-input-sources. Current value of NUM_FLUSHERS_PER_PARTITION: number-of-flushers. |
The INGEST command specified RESTART CONTINUE. In order to restart a failed INGEST command, the restarted command must meet the following requirements:
|
One of the following:
|
|
SQL2959W |
The utility recovered from the following error. Reason code reason-code. Number of reconnects: number. Number of retries: number. |
The ingest utility received the error that followed this message, but recovered from the error by issuing a COMMIT or issuing a ROLLBACK and reissuing the SQL statements. The utility reissued the statements the number of times specified in the message. The reason code indicates how the utility recovered from the error:
|
To avoid receiving this message, refer to the explanation of the error message that follows this message and take any corrective action that is needed. If the error message is SQL0911N, you can also do one of the following depending on the reason code:
|
|
SQL2960N |
Row row-number contains an invalid security label string for the target table. |
A field definition specifies DB2SECURITYLABEL STRING, but the value of the corresponding field in the input source is not a valid security label string. The row is not loaded. |
One of the following:
. |
|
SQL2961N |
The INGEST command can specify at most number input file names or pipe names. |
The INGEST command failed because it has more than the allowable number of input file names or pipe names. |
Remove input file names or pipe names from the command so the number is less than or equal to than the maximum number specified in the message. |
|
SQL2962N |
When restart is on, the nickname specified on the INGEST command must have server option DB2_TWO_PHASE_COMMIT set to 'Y'. |
The ingest utility issues this message when all of the following are true:
The SQL30090N error occurs because the utility needs to update both the remote table that the nickname refers to and the restart log table, which is local. This requires the two-phase commit protocol, but the server definition that contains the nickname is not defined with server option DB2_TWO_PHASE_COMMIT set to 'Y'. |
Any one of the following:
|
|
SQL2963N |
The starting or ending position that was specified in the POSITION clause of the following field is not valid: field-name. |
You can ingest data to a database table from an input file or pipe by using the INGEST command. You can specify that each input record is a sequence of text or binary fields by using the POSITIONAL parameter with the INGEST command. You can specify the starting position and ending position of each field within a record by using the POSITION clause in the field definition. This message is returned when an invalid starting or ending position is specified with the POSITION clause. |
|
|
SQL2964N |
The INGEST command cannot restart because the ingest job job-ID is still active. Reason code: reason-code. |
The INGEST command specifies a job ID that is currently in use, as indicated by the reason code:
|
The user response corresponding to the reason code is:
|
|
SQL2965I |
The following warning or error occurred issuing the SQL sql-statement statement on table table-name. |
This message identifies the table being operated on when the error in the following message occurred. If the table is the restart table (systools.ingestrestart), the restart table might be corrupted, damaged, or missing. |
If the table is the restart table (systools.ingestrestart):
If the table is not the restart table, contact IBM Technical Support. |
|
SQL2966I |
The following warning or error occurred connecting to the database. Database name or local alias: dbname. User ID: user-ID |
When the ingest utility connects to the database and gets a warning or error, the utility issues this message followed by the warning or error message. If you connected without explicitly specifying the user ID, the user-ID field is empty. |
Refer to the user response for the message that follows this message. If the problem still occurs, verify the following:
In order to determine whether the problem is with the ingest utility or somewhere else, try connecting directly to the database server using the parameters indicated in the message, as follows: |
|
SQL2967I |
The following warning or error occurred connecting to a database partition. Partition number: number. Database name on the server: dbname. Host name: hostname. Service name or port number: service-name-or-port-number. User ID: user-ID. |
When the ingest utility runs in a DPF environment and it can determine values for each of the target table's distribution keys, it connects directly to each database partition. When the utility connects to the database partition and gets a warning or error, the utility issues this message followed by the warning or error message. |
Refer to the user response for the message that follows this message. If the problem still occurs, verify the following:
In order to determine whether the problem is with the ingest utility or somewhere else, try connecting directly to the database server partition using the parameters shown in the message, for example: |
|
SQL2968N |
The ingest utility failed because a non-numeric field value is used where a numeric value is expected. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can specify to the ingest utility how the data is defined in the input stream by describing the fields into which the data is separated. This message is returned when one of the fields in the specified input record has a non-numeric value, but is used where a numeric value is expected. |
Respond to this message by performing one of the following actions:
|
|
SQL2969N |
A field that maps to a distribution key column contains a value that is invalid or out of range for the column type. The utility cannot pre-partition the input record. Field value: field-value. Column type: column-type. Column length: number. |
In a partitioned database environment, the utility examines the values of fields that map to distribution key columns and uses those values to determine the partition to send the record to. The utility issues this message when the field value is invalid or out of range for the corresponding distribution key column type. For example, the utility issues this message if the distribution key column type is INTEGER, but the field contains "ABC". The column type is the type of the distribution key column that corresponds to the field. The column length is the length of the column in bytes. The utility will not send the record to DB2. If the DUMPFILE parameter is specified, the utility will write the record to the dump file. |
To avoid receiving this message, correct the field value in the input data. |
|
SQL2970N |
Database db-name uses node node-name, but the utility cannot find the node in the node directory. |
The database directory contains an entry for the specified database and the entry specifies a node that does not exist. |
Define the node or modify the entry in the database directory to specify an existing node. |
|
SQL2971N |
The ingest operation failed because invalid input was specified. Outer structure: outer-structure-name. Inner structure: inner-structure-name. Index: index-number. Field: field-name. Value: value. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. You can specify to the ingest utility how the data is defined in the input stream by passing data structures such as db2IngestStruct, db2IngestCfgList, and db2IngestFormat to the db2Ingest API call. The fields of some db2Ingest input structures contain an array of objects:
This message is returned when one object in an array of objects contains an invalid field value. The runtime token index-number indicates which element in the array of objects has a problem. The index starts at zero. |
Call the db2Ingest API again, specifying valid values for the input data structures. |
|
SQL2972N |
The ingest operation failed to restart because one or more command parameters or the input data is inconsistent with the original command. |
This message is returned when an attempt is made to restart an ingest operation, but one or more of the following is true: Scenario 1: The target table and the restart log table (SYSTOOLS.INGESTRESTART) are in different table spaces, but the two table spaces are at different product code levels. Scenario 2: The records in the restart log table that belong to the specified ingest job ID have been modified outside of the ingest utility. Scenario 3: The input files or pipes for the restarted ingest operation do not provide the same records in the same order as the input files or pipes for the original command. Scenario 4: One of more of the following parameters are different from the original ingest operation:
Scenario 5: One or more of the target table columns that the SQL command updates have a different definition than they had at the time of the original ingest operation. Scenario 6: In a multiple database partition environment:
|
The user response depends on which restriction was violated: Respond to this message according to the scenario in which this message was returned: Scenario 1: If the target table and the restart log table are in table spaces at different product code levels, restore the table spaces containing the target table and the restart table so they are at the same level. Scenario 2: If the records in the restart log table have been modified, restore the contents of the restart table. Scenario 3: If the format of the input files or pipes is not the same as the format of the input files or pipes specified for the original ingest operation, specify input files or pipes that provide the same records and in the same order as on the original ingest operation. Scenario 4: If the parameters that were specified when the ingest operation was being restarted are not the same as the parameters that were specified with the original ingest operation, modify the SQL statement and the field definition list to match the original ingest operation. Scenario 5: If the target table has been altered since the original ingest operation, restart the ingest operation from the beginning. Scenario 6: If database partitions have been added or removed, or if data has been redistributed since the original ingest operation, restart the ingest operation from the beginning. |
|
SQL2973N |
The ingest operation failed because a field specifies an invalid format string. Field name: field-name. Field type: field-type. Specified format string: format-string. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. When a field in the input stream is a date, time, or timestamp, you can specify the format of the field by providing a format string. This message is returned when a field definition specifies a date, time, or timestamp format string that is not valid. |
Perform the ingest operation again, specifying a valid format string, surrounded by single quotes, for the given field. |
|
SQL2974N |
The ingest operation did not complete successfully because the primary database connection was lost before the ingest operation finished. |
You can stream data from files and pipes into DB2 database tables by using the ingest utility. If the ingest utility fails before completing, you can restart the ingest operation from the last commit point. This message is returned when the primary database connection was lost during the initialization of the ingest operation. |
|
|
SQL2975N |
When the INGEST command is restartable, the RECONNECT_COUNT ingest configuration parameter must be set to 0. |
The RECONNECT_COUNT ingest configuration parameter is set to a value greater than 0 and the INGEST command omits the RESTART parameter (so it defaults to NEW) or specifies RESTART NEW or RESTART CONTINUE. |
Set the RECONNECT_COUNT ingest configuration parameterto 0 or specify RESTART OFF on the INGEST command. |
|
SQL2976W |
Field field-name specifies conflicting values for the length and end position. Reason code reason-code. |
There is a conflict between the field length and the field end position. The indicated reason code describes the conflict and how the utility resolves it:
|
To avoid receiving this message, do one of the following, depending on the reason code and the format of the data in the input source:
|
|
SQL2977I |
Because of the previous error, the ingest utility will exit. |
The utility received an error that prevents it from continuing. The utility will exit. Rows that were committed prior to the error remain in the table. |
Refer to the explanation and user response of the previous error message. If the INGEST command specified RESTART NEW or omitted the RESTART option (in which case it defaults to NEW), correct the error and re-run the same INGEST command, specifying RESTART CONTINUE. |
|
SQL2978I |
The following error occurred and the ingest utility could not recover after number reconnects and number retries. Reason code: reason-code |
Ingest configuration parameter RECONNECT_COUNT or RETRY_COUNT has a value greater than 0 and the utility received a recoverable error. The utility attempted to recover from the error but could not for the reason indicated by the reason code:
|
Refer to the explanation of the error message that follows this message and take any needed corrective action. If the error message is SQL0911N, you can also do one of the following depending on the SQL0911N reason code:
If the error cannot be easily avoided and you want the utility to recover, increase the setting of one or more of the following ingest configuration parameters, depending on the reason code you received for the current message (SQL2978I):
|
|
SQL2979I |
The ingest utility is starting at timestamp. |
The ingest utility is starting at the indicated timestamp. The utility will also issue a message indicating the job ID. |
No user response is required. |
|
SQL2980I |
The ingest utility completed successfully at timestamp timestamp |
The ingest utility completed with no warnings or errors. |
No user response required. |
|
SQL2981N |
An error occurred calling a system function or system command. Function or command: function-or-command-name. Reason code: reason-code. Additional tokens: additional-tokens. |
An unexpected error occurred calling an operating system function or command. The reason codes are:
|
The user response depends on the reason code:
|
|
SQL2982W |
The INGEST LIST command or INGEST GET STATS command did not return any information for the authorization ID that is currently connected to the database, because that authorization ID is not currently running any ingest operations on the current machine. Authorization ID: auth-ID |
You can monitor the progress of ingest operations being run by the authorization ID that is connected to the database by using the INGEST LIST command or the INGEST GET STATS command. This message is returned when either the INGEST LIST command or the INGEST GET STATS command was issued, but the authorization ID that is currently connected to the database is not running any ingest operations on the current machine. If the authorization ID recently started an ingest operation from another session, the command might not have completed initialization or might have already finished. |
Ensure that you are running the INGEST LIST or INGEST GET STATS command on the same machine where you issued the INGEST command. If the authorization ID recently started an ingest operation from another session and the command has not yet completed, wait a few seconds for the command to complete initialization. Then run the INGEST LIST command or the INGEST GET STATS command again. |