RE: Check pending.

RE: Check pending.

 

  

Thanks Vishnu. Set integrity worked this time. Before I used it with
FULL ACCESS option it failed.

-----Original Message-----
From: vishnuvardan
[mailto:db2udbdba-ezmlmshield-x69219867.[Email address protected]
Sent: Friday, March 14, 2008 7:39 AM
To: LazyDBA Discussion
Subject: RE: Check pending.


Igor,

The one I gave is for UNIX, as we use it very often.

Check the table space with

Db2 getsnapshot for talespaces show detail, it will give the tablespace
state.
And then deppinding on that you can take a backup

Or

Check the table state by selecting

STATUS from syscat.tables for you're table with

Db2 select STATUS from syscat.tables where TABSCHEMA=<TABSCHEMA> and
TABNAME=<TAB_NAME>

And do a set integrity on the table with command

Db2 SET INTEGRITY FOR <TAB_NAME> IMMEDIATE CHECKED

Hope it helps :)



Thanks and Regards,
Vishnu Vardan G.
Project Engineer , Wipro Technologies
Bengaluru,India.
>*:vishnuvardan.[Email address protected]
>*: 9740149105
>P Please don't print this e-mail unless you really need to. Save a
Tree.
"It was love at first sight. Then I took a second look!!!!!"


-----Original Message-----
From: Igor Galperin
[mailto:db2udbdba-ezmlmshield-x77029896.[Email address protected]
Sent: Friday, March 14, 2008 8:05 PM
To: LazyDBA Discussion
Subject: RE: Check pending.

So far all recommendations apply to DB2 on z/OS. I have check pending
problem in UDB on Unix.

-----Original Message-----
From: SChavali
[mailto:db2udbdba-ezmlmshield-x40352340.[Email address protected]
Sent: Friday, March 14, 2008 5:54 AM
To: LazyDBA Discussion
Subject: Re: Check pending.

Run a CHECK DATA job on the tablespace in check-pending state. If that
does not remove it, it means that the load has created orphan rows (data
which do not have parent in the parent table). Then run a CHECK DATA
with exception table into which the orphan rows will be put after
deleting from the main table.

If it is not very important, you can do a repair on the tablespace with
NOCHECKPEND, to remove the check pending status.

With Regards
Sathyanarayana Kumar Chavali
D: Development Processing
A: i|Nautix Technologies India Pvt Ltd,
10th Floor, TIDEL Park,
Taramani Road,
Taramani, Chennai - 600113
T: 91-44-2254 6000
X: 1437 V: 1363 F: 91-44-2254 0534
E: [Email address protected]
I: www.inautix.com





"Igor Galperin "

<db2udbdba-ezmlms

hield-x71837536.x
To
[Email Address Removed] "LazyDBA Discussion"

A.com> <[Email address protected]


cc
03/14/2008 05:47

PM
Subject
Check pending.


















Does anyone know how to remove CHECK PENDING after the LOAD. SET
INTEGRITY and DISABLE/ENABLE foreign keys does not work. Table is still
not accessible.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail message from State Compensation Insurance Fund and all
attachments transmitted with it may be privileged or confidential and
protected from disclosure. If you are not the intended recipient, you
are hereby notified that any dissemination, distribution, copying, or
taking any action based on it is strictly prohibited and may have legal
consequences. If you have received this e-mail in error, please notify
the sender by reply e-mail and destroy the original message and all
copies.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html





---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com



---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html


DB2 & UDB email list listserv db2-l LazyDBA home page