IBM Support

SQL1822N Unexpected error code "-7008" received when trying to insert data into an iSeries database

Troubleshooting


Problem

Optim is connected to an iSeries database via nicknames created in DB2, using Federation Server and the DRDA wrapper. If the source tables are journaled, and the target tables are not, then a restore of archived data using insert may result in an error such as the following: Insert Process Errors: Data Base Error Detected in dbaliasname.ownerid.tablename: SQL1822N Unexpected error code "-7008" received from data source "XXXXXXX". Associated text and tokens are " SQL7008N REXX variable "tablename " contains inconsi". SQLSTATE=560BD

Symptom

SQL1822N Unexpected error code "-7008" received from data
source "XXXXXX".

[{"Product":{"code":"SSMLQ4","label":"IBM InfoSphere Optim Test Data Management Solution"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF012","label":"IBM i"},{"code":"PF033","label":"Windows"}],"Version":"7.1.0;7.1.1;7.1.2;7.2;7.2.0;7.2.1;7.2.2;7.3;7.3.1;8.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM InfoSphere Optim Test Data Management Solution

Software version:
7.1.0, 7.1.1, 7.1.2, 7.2, 7.2.0, 7.2.1, 7.2.2, 7.3, 7.3.1, 8.1

Operating system(s):
IBM i, Windows

Document number:
197177

Modified date:
08 July 2021

UID

swg21577791

Manage My Notification Subscriptions