IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Corrupt partitions due to duplicate records


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
baljinders

New User


Joined: 21 Aug 2006
Posts: 72

PostPosted: Tue Jul 20, 2010 8:20 pm
Reply with quote

Hi

I have a db2 table with 96 parts, index controlled partitions. Some user cancelled a long running load job and terminated the utility ID because of which the index went into RBDP state. When i try to rebuild the index, its throwing error because it can't load the index due to duplicate keys.

In order to fix this, i have an option of doing unload of all 96 parts and then load the data back into each partitions but that would be time consuming.

I wanted to know if there is a way to identify the corrupted partition only. That ways i can just unload and load replace on the corrupted partition w/o having to do on all 96 parts.

Thanks
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Jul 21, 2010 5:08 pm
Reply with quote

Baljinders,

Check the SYSCOPY table for that particular time period and tablespace.
You will get the partition number.

Thanks,
Sushanth
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Duplicate transid's declared using CEDA CICS 3
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top