The error that you're getting is directly related to the Check Pending state. (The other items may be an issue later.)
You can probably get past this error by turning off the RI. In our database transformations, we turn RI off and on quite a bit by generating SQL statements from the system tables. Replace the lower case items in the text below with names appropriate for your site and run the query. It will generate ALTER TABLE statements that you can cut and paste into your SQL client.
SELECT 'ALTER TABLE name.' || TBNAME || ' ALTER FOREIGN KEY ' || RELNAME || ' NOT ENFORCED; ' AS COMMAND_REMOVE_INTEGRITY
FROM SYSIBM.SYSRELS WHERE TBNAME LIKE '%tablename%';
Kent
Main Topics
Browse All Topics





by: db2inst1Posted on 2005-06-03 at 11:54:52ID: 14142356
All you have to do is
Restart or terminate the previously failed LOAD operation on
this table by issuing LOAD with the RESTART or TERMINATE option
respectively.
So the LOAD operation didn't complete, Just to confirm query the table you will get the error message recevied during the load operation.
LOAD QUERY TABLE dim_order
Now with the restart/terminate the load operation by the following command.
LOAD FROM filename of filetype RESTART into dim_order
LOAD FROM filename of filetype TERMINATE into dim_order