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 All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts Sort SMF records? SYNCSORT 6
No new posts To Discard record with 0 entry if Dup... SYNCSORT 7
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Identify and write records containing... SYNCSORT 11
Search our Forums:


Back to Top