Database Connectivity and Generic DB Errors
The following table lists the commonly encountered codes and messages and their workarounds.
| Code | Description | Action required |
|---|---|---|
| Db2 related codes and messages | ||
|
TCS0006E: Db2-error for '...', Return Code=..., Reason Code=0x..., (Refer to Db2 UDB, Messages & Codes). |
An error has occurred when accessing a Db2 system. This error may happen if the attempt to connect to a Db2 system fails. The error also occurs when it is not possible to read Active Log records. |
Check the availability of the Db2 and the security definitions. |
|
TCS0008E: DSNJSLR ... error, Return Code=..., Reason Code=0x..., (Refer to Db2 UDB, Messages & Codes). |
An error has occurred when accessing a Db2 system. The error happens when archive log records cannot be processed.
|
Additional information about the error are contained in the return or reason codes. Refer to manual 'Messages and Codes' for Db2. |
|
TCS0009E: Db2 System not started for Db2-access: ... . |
To process the log data records in near realtime requires a connection to the Db2. Db2 must be started and available. This is not the case. |
Start the specified Db2 System or activate the process option 'Wait for an active Db2' in the additional settings 'Realtime specific settings'. |
|
TCS0040E: Start RBA ... is less than start RBA of active log: ... . |
A start RBA has been specified that is lower than the first RBA in the active log. The data must be processed from the archive log. It is possible to automatically determine the start RBA in a process. |
Correct the start RBA. Use the Db2 console command '-DIS LOG' to obtain the RBA. |
|
TCS0041E: The DML apply thread ... has no response received from the target database for ... seconds. Please check out for any possible bottlenecks on the target database. |
The process is waiting for records to be successfully processed by the target database or storage system so it can proceed. This didn't happen for more than ... seconds. |
The target database or storage system needs to be checked for problems or bottlenecks. If none are found and it just needs more time to react the timeout can be increased by setting the parameter PM_I.ThreadTaskTimeout in the prolog of the process. This setting is done in milli seconds. So PM_I.ThreadTaskTimeout = 300000 would set the timeout to 300 seconds. The maximum value possible is 3600000 for a timeout of 1 hour. |
|
TCS0042E: Input value for numeric field '... is invalid. Input value...'. |
Invalid numeric values have been detected in a field of a data
record. The processing terminates. This error normally happens when processing a PACKED field.
It is possible to ignore these type of errors during the process processing. This should be considered if the correctness of the input data cannot be influenced. The invalid data is then converted to NULL. To activate this processing type, select option Correction of invalid data for setting 'Extended processing settings', to log the changes use setting 'Information protocol writing', and specify a fully qualified name for the info file. This file will contain information about the invalid data together with the key of the data-record for further reference. |
Check the source data for valid values. |
|
TCS0043E: Invalid data in log record. Field name '...', value X'...'. |
This error occurs when invalid data is processed for IMS log records. |
Create a process trace (with all dumps included) and forward it to the technical support of your local Rocket Software representative. |
|
TCS0044E: z/OS Return Code. Service called '...', Return Code ... . |
This error occurs during the processing of z/OS service 'CSRCESRV' to unpack data and the service returns with an error. The following are the most common return codes.
|
Create a process trace (with all dumps included) and forward it to the technical support of your local Rocket Software representative. |
|
TCS0045E: The following function is not supported: '... |
An attempt has been made to perform a function that is not supported. The required action depends upon the message. The following contains a list of messages that can be influenced by the user.
|
For all other messages create a process trace (all dumps included) and forward it to your local support. |
|
TCS0054E: DRDA error: ... |
An error occurred when accessing a Db2 data source. The message is issued for any Db2 error. The error has been returned by Db2 and is related to the database. If the message contains a negative SQL code or a SQL state, refer to the manual 'Db2 UDB Messages and Codes'. The following list contains the most common error codes:
|
DRDA Errors are IBM Db2 return codes and reason codes, not internal errors, and may not be directly related to RDRS. |
|
TCS0060E: Column '...' in 'Input_Source_Order_by' is not part of the result set. |
A query has been executed for an ODBC, DRDA or Oracle OCI data source. The input field 'List of comma separated field names that build the key' contains a column that is not part of the query. |
Correct the query or the column name. |
|
TCS0061E: Column '... in 'Input_Source_Order_by' not defined as 'NOT NULL'. |
A query has been executed for an ODBC, DRDA or Oracle OCI data source. Input field 'List of comma separated field names that build the key' contains a column that can contain null VALUES: |
Set the column in the source database to 'NOT NULL'. It is not sufficient that the column does not contain NULL values. |
|
TCS0104E: Db2 z/VSE Logfile(...): The log block number (...) is not by 1 higher than the last number processed (...). |
Processing of a Db2 log file. The logical block number of the next block is not exactly 1 higher than the block number of the currently processed block. This error can happen if log files are not processed in the correct sequence. |
Make sure that archive logs are consistently processed in ascending sequence. |
|
TCS0106E: Db2_Error: ... |
An error occurred when accessing a Db2 data source. This message is issued for every Db2 error. The error has been returned by the Db2 driver and is related to the database. If the message text contains a negative SQL Code or a SQL State refer to manual 'Db2 UDB Messages and Codes'. The following list contains the most common codes:
|
Db2 Errors are not internal errors, and may not be directly related to RDRS. |
|
TCS0109E: Db2 Before or After Images for table '...' with no active 'DATACAPTURE' attribute. |
A Db2 table has been selected for processing, however this table does not have the DATACAPTURE attribute. Changes applied to this table cannot be processed. |
Assign the DATACAPTURE attribute to this table. |
|
TCS0118E: The processed length ...of the log image does not fit the length ... of the log image. System information ... |
This error may occur when Db2 log files for z/VSE (SQL/DS) are processed. The field length of fields in the log file is not identical to the defined field lengths in the structure file. As an example, this error can happen when fields are deleted in a structure file and these field cannot have NULL values. The error also may happen if the layout of the table has changed but these changes are not reflected in the structure file. |
Reimport the structure file. |
|
TCS0119E: Db2 z/VSE Logfile(...): The file does not contain a 'LOGCID'-Header. |
The log file that is processed does not have a valid start record.
The reason for the error can be:
|
Check the specified file. If the file has been transferred from the mainframe to the workstation a BINARY transfer with no conversion must be performed. |
|
TCS0140E: Db2 UDB error: ... |
An error occurred when accessing a Db2 UDB. This message will be issued for every Db2 UDB error. The error has been returned by Db2 UDB and is related to the database. If the message text contains a negative SQL Code or a SQL State refer to manual 'Db2 UDB Messages and Codes'. The following list contains the most common codes:
|
Db2 Errors are IBM Db2 return codes and reason codes, not internal errors, and may not be directly related to RDRS. |
|
TCS0154E: Db2 z/OS Alert, an unexpected logrec variation '..' has been detected. |
An unexpected variation has been encountered when processing Db2
z/OS log records. Currently this variation cannot be processed. The
following is recommended:
|
PM_I.PROCESS_VARIATION=1 in the process prolog suppresses the message and an attempt is made to process unknown variations. The purpose of the switch is to continue the replication process. |
|
TCS0164E: Db2 z/VSE exit log reader: Processing must start with a Db2 warm or cold start. |
A replication has been implemented for a Db2 Server for z/VSE. During the start of the replication the data pool is processed. The first record in the data pool was not a Db2 start record. A Db2 Server for z/VSE replication can only be successfully restarted when the first pool record represents a Db2 start. |
Perform the following steps to resolve the problem:
Because of the presence of restart files the pool process can now be restarted as often as required. It is no longer necessary to record the start of Db2 as the first record in the data pool. |
|
TCS0270E: No information from ADABAS nucleus with Id ... since .... Please check the PLOG reader. |
The specified nucleus in a group of Adabas nuclei has not returned the status since the mentioned time. Newer transactions from other nuclei are ready for processing, but they cannot be processed due to the dependency between the nuclei. Therefore the replication has to wait. |
The status of the PLOG reader of the specified Adabas nucleus should be checked. The timeout that triggers this message can be set (in seconds) with the parameter PM_I.ADABAS_NUCLEUS_CHECK. |
|
TCS0411W: Db2 zLOAD Info: ... |
The Db2 zLOAD utility has returned the above information for a successful load. |
Loading of the data was successful. No further action required. |
|
TCS0412E The specified error occurred while loading data with the Db2 zLOAD utility. |
Loading the data was not successful. The error message names the problem. | Take action as per the error message. |
|
TCS0470E: PostgreSQL Logreader error: … |
The error indicated in the message occurred while trying to read data from PostgreSQL logs. |
Please make sure that the process definition is correct and restart the task. If the behavior persists, contact the Rocket Software technical support. |
|
TCS1002I: Db2: ... . |
This message is a placeholder for all general messages related to a Db2 access. The required action depends upon the actual message. |
The errors are IBM Db2 errors, not internal errors, and may not be directly related to RDRS. |
|
TCS1003I: Start RBA ... is higher than the highest RBA used by Db2. |
A start RBA has been specified to read a Db2 log. However this RBA has not yet been reached in the system. |
Specify a valid RBA that already exists. Use the console command '-DIS LOG' to obtain the correct RBA. |
|
TCS1004I: Db2 VM z/VSE: Waiting for Warmstart, BlockNr(...). |
Option 'Wait for an active Db2' has been specified for the active log processing. The Db2 system has been shut down. This message indicates the waiting status for Db2 to come up again. |
No action required. |
|
TCS1005I: Db2 VM z/VSE: WarmStart, BlockNr(...) at ... |
Option 'Wait for an active Db2' has been specified for the Db2 active log processing. The Db2 system has been restarted. This message confirms the warm start of Db2. |
No action required. |
|
TCS1006I: Db2 VM z/VSE: Shutdown, BlockNr(...) at ... . |
The Db2 system has been shut down. This message confirms the termination of the Db2 system. |
No action required. |
| Oracle related codes and messages | ||
|
TCS0087E: Error during ORACLE-access, ... |
An error occurred when accessing an ORACLE data source. This message is used for every ORACLE error. The error has been issued by the Oracle driver and relates to the database. The error messages can be found in manual 'Database Error Messages'. The following list contains the most common error codes:
|
ORACLE Errors are not internal errors, and may not be directly related to RDRS. |
|
TCS0088E: ORACLE DB Version ... is not supported. |
An attempt has been made to connect to an ORACLE database of version 8 or to establish a connection to ORACLE using libraries that relate to version 8 or an earlier version. This is not supported. At least version 9i of Oracle is required. |
Use a current Oracle version. |
|
TCS0089E: ORACLE OCI Version ... is less than DB Version ... . |
An attempt has been made to connect to an Oracle database using libraries of a different version. This is not supported. However it is possible to use a version 10g client to access an Oracle database of version 11. |
Use the library version that matches the database. |
|
TCS0141E: ORACLE: Processing (...) of OBJ ... without 'Minimum Supplemental Logging' not possible. ... |
The processing of an ORACLE object is not possible without 'Minimum Supplemental Logging'. |
To activate the feature use command 'ALTER DATABASE ADD SUPPLEMENTAL LOG DATA' and repeat the attempt. |
|
TCS0480E: OCILIB … |
The error indicated in the message occurred while accessing an Oracle database using the OCILIB library. |
Consult the OCILIB documentation for more details on the error. |
| ODBC/JDBC/SQL related codes and messages | ||
|
TCS0049E: ODBC error: ... An error has occurred when accessing an ODBC data source. This message applies to all ODBC errors. No specific explanation is available. The error was caused by the ODBC for a certain database and is related to this database. The message contains the original error message of the ODBC driver. The required action depends upon the message |
An error has occurred when accessing an ODBC data source. This message applies to all ODBC errors. No specific explanation is available. The error was caused by the ODBC for a certain database and is related to this database. |
The message contains the original error message of the ODBC driver. The required action depends upon the message. |
|
TCS0200E SQL error for lookup processing: ... |
An error occurred during the processing of a Lookup function. The error is part of the message and has been issued by the database management system that was the target for the Lookup function. |
The required action depends upon the actual error message. |
|
TCS0241E: IBM Db2 client error. |
An error occurred when accessing the IBM Db2 client. |
The action depends on the message returned. |
|
TCS0263E: JDBC error: … |
The error indicated in the message occurred during the JDBC processing. |
Consult the JDBC documentation for a description of the error. |
| Other databases related codes and messages | ||
|
TCS0255E: MariaDB error: … |
The error indicated in the message occurred during the MariaDB processing. |
Consult the MariaDB documentation for a description of the error. |
|
TCS0256E: PostgreSQL libpq … |
The error indicated in the message occurred during the PostgreSQL processing. | Consult the PostgreSQL documentation for a description of the error. |
|
TCS0257E: Teradata CLIv2: … |
The error indicated in the message occurred during the Teradata processing. |
Consult the Teradata documentation for a description of the error. |
|
TCS0258E: MySQL error: … |
The error indicated in the message occurred during the MySQL processing. |
Consult the MySQL documentation for a description of the error. |
|
TCS0265E: Cloud Spanner error: … |
The error indicated in the message occurred during the Cloud Spanner processing. |
Consult the Cloud Spanner documentation for a description of the error. |
|
TCS0266E: BigQuery error: … |
The error indicated in the message occurred during the BigQuery processing. |
Consult the BigQuery documentation for a description of the error. |
|
TCS0271E: MSSQL error '...' |
The error referred to in the message occurred during an access to MS SQL. |
Refer to the corresponding documentation for MS SQL. |
|
TCS0291E: Snowflake-Error … |
During processing Snowflake operations an error occurred, more information, if available, is in the trace-log. |
Restart the task. If the problem happens again, please contact Rocket Software Support. |
|
TCS0294E: Spark-Iceberg-Error … |
During processing Spark-Iceberg operations an error occurred, more information, if available, is in the trace-log. |
Restart the task. If the problem happens again, please contact Rocket Software Support. |