what needs to be done if a table is in copy pending / check
pending status?

Answers were Sorted based on User's Feedback



what needs to be done if a table is in copy pending / check pending status?..

Answer / sasi

use repair utility
REPAIR SET TABLESPACE DATABASE.TABLESPACENAME NOCOPYPEND
REPAIR SET TABLESPACE DATABASE.TABLESPACENAME NORCVRPEND
REPAIR SET TABLESPACE DATABASE.TABLESPACENAME NOCHECKPEND

Is This Answer Correct ?    17 Yes 2 No

what needs to be done if a table is in copy pending / check pending status?..

Answer / kiran bhamare

Hi,

You can do same by following tric.
STOP database and start it again using DB2 commands.
1)-DIS DATABASE (DATABASENAME) SPACE (TABLESPACENAME)
to dsisplay status of DB
2)-STOP DATABASE (DATABASENAME) SPACE (TABLESPACENAME)
to stop database.
3)-START DATABASE (DATABASENAME) SPACE (TABLESPACENAME) ACC
(FORCE)
to start database.

Is This Answer Correct ?    1 Yes 2 No

what needs to be done if a table is in copy pending / check pending status?..

Answer / sudipta

first ckeck the ststus of the table by using the query:-

load query table <tab_name>;

load query table <tab_name> set all immidiate unchecked;

after the command execute all pending state will be removed

Is This Answer Correct ?    2 Yes 4 No

what needs to be done if a table is in copy pending / check pending status?..

Answer / sudipta

sorry the last answer is

db2= >> set integrity for <table_name> all immediate unchecked

Is This Answer Correct ?    2 Yes 4 No

what needs to be done if a table is in copy pending / check pending status?..

Answer / suresh

we need to clear the flags of that particular utilities and
try to load the data into the database.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More DB2 Interview Questions

Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

0 Answers  


What is multi row fetch in db2?

0 Answers  


How to resolve -917 sql code in DB2?

3 Answers   Cap Gemini,


Mention some fields that are a part of sqlca.

0 Answers  


can we drop column from a table

7 Answers   INDUS,






What is the meaning of -805 SQL return code?

3 Answers  


Explain correlated sub-queries.

0 Answers  


If the main program has only cobol statements and subprogram has the db2 statements what is the procedure for precompilation. for which program we need to do the precompilation

1 Answers   IBM,


What are the prerogatives?

0 Answers  


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

0 Answers   IBM,


What are the three lock types?

2 Answers  


WHAT IS NULL INDICATOR ? WERE IS THIS USED? AND IF IT IS USED IN FILES CONCEPT? HOW DO WE USE IT?

2 Answers   IBM,


Categories