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

What is meant by repeatable read?

4 Answers  


What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?

3 Answers  


What is a dbrm in db2?

0 Answers  


Under what circumstances will DB2 allow an SQL statement to update more than one primary key value at a time?

1 Answers  


can we drop column from a table

7 Answers   INDUS,






by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

4 Answers   Mphasis,


what is the input to PLAN? what is the input to DBRM?

4 Answers  


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

0 Answers  


what is sql abend code -801,-802?

2 Answers  


can I alter a table (e.g. adding a column) when other user is selecting some columns or updating some columns from the same table?

1 Answers  


What are the full forms of spufi and dclgen and why are they used?

0 Answers  


What are packages in db2?

0 Answers  


Categories