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

Q1. How will you use two different DB2 qualifiers in a single COBOL program? Suppose we have 2 tables EMP1 and EMP2 with same structure defined in two different DB2 qualifiers QUAL1.EMP1 and QUAL2.EMP2 now during first 15 days we want to use QUAL1.EMP1 and rest of the days QUAL2.EMP2  how will we do this.  We can create a single program and a single load for this program. 

2 Answers   RBS,


What does the CHECK Utility do ?

1 Answers  


What is the purpose of the WHENEVER statement?

1 Answers  


how to identify the pseudo conversation by seeing the program

2 Answers   DELL,


What are the prerogatives?

0 Answers  


How do I add a column to an existing table in db2?

0 Answers  


What is null value in db2?

0 Answers  


What if , we failed to mentioed null indicator in sql select query , that may retrieve null value ?

2 Answers   Cap Gemini,


How to get Top 10 Salaries from a Table

11 Answers   Accenture, HTC,


Where is the access path logic created by the DB2 Optimizer stored?

1 Answers  


How does a cursor work?

0 Answers  


how to fetch first 100 rows in db2

2 Answers   IBM,


Categories