What is COPY PENDING status?
Answers were Sorted based on User's Feedback
Answer / gopinath
The correct syntax is :
START DATABASE(Dbname) SPACENAM(Tbspacename) ACCESS(force)
| Is This Answer Correct ? | 17 Yes | 5 No |
Answer / mithun suresh
We can also remove COPYPENDING using REPAIR command
REPAIR SET TABLESPACE LVPERCFD.LVPCNTRS NOCOPYPEND
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / sabahat khan
any table space will be in copy pending status
After a load is performed on the DB2 table,with log no
parameter
or
if load is performed without taking an image copy
or
if the job abend during load
or
if NOCOPYPEND parameter is not specified in syspunch dataset
in all of the above scenario our table space will be in
COPYPENDIND status.
-START(DBname)TBSPACE(Tablespace)ACCESS(FORCE)
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / rshk
After a load is performed on the DB2 table, it will be in
Copy pending status. When the table is in copy pending
status, you cannot access the table. In order to release the
table from copy pending status, we need to force complete it
using the Db2 command:
-START(DBname)TBSPACE(Tablespace)ACCESS(FORCE)
Pls check the syntax of the above command.
| Is This Answer Correct ? | 14 Yes | 8 No |
Answer / vat
Applies to REORG as well.. The TS/partition will be
in 'COPY' (Copy Pending status) unless you take an inline
image copy OR specify SHRLEVEL REFERENCE/CHANGE OR sepcify
LOG YES
To resolve this, you can
1. Start Access(Force)
OR
2. Repair
OR
3. Take an image copy
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / dalwinder singh
A table is load pending state if a load operation that has
been active on the table is aborted before the data could
be committed. To return the table to Normal state, invoke a
load terminate, load restart, or load replace operation.
| Is This Answer Correct ? | 3 Yes | 0 No |
what is the syntax for FOR UPDATE CLAUSE in cursor declaration and how can u update using cursor? is it possible to update multiple rows at a time.
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
In terms of DB2 indexing, what is the root page?
What is dbrm?
How to update more then one record using update?
What is the use of dclgen in db2?
What r the comman abends in db2, jcl and cobol???????
Suppose we have a query for update update table1 set col1 = 'val1' where col2=(select .... from ...) suppose the subquery does not return any record, what will happen to update?
B37 abend during spufi?
Define db2.
How to see the structure of db2 table??
What is db2 purescale?