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

problem index -rebuild pending-


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

New User


Joined: 14 Sep 2009
Posts: 60
Location: Milan

PostPosted: Thu Sep 30, 2010 11:15 pm
Reply with quote

Hello everyone,
due to an abend during a load, the indexes of the table remained in REBUILD PENDING.
if I try to do the REBUILD INDEX , it give me as an error "duplicate keys"
how can I fix the index?
thank you very much.

thank you

theone
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Sep 30, 2010 11:22 pm
Reply with quote

Trying dropping and re-creating the index.
Back to top
View user's profile Send private message
theone1987

New User


Joined: 14 Sep 2009
Posts: 60
Location: Milan

PostPosted: Thu Sep 30, 2010 11:24 pm
Reply with quote

Akatsukami wrote:
Trying dropping and re-creating the index.

i can't. I have not the privilege.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Oct 01, 2010 12:04 am
Reply with quote

Hello,

Then you need to involve the dba. . .
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Fri Oct 01, 2010 12:31 pm
Reply with quote

How would dropping and recreating an index solve duplicate keys?

If load replace : remove duplicates from input and reload.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Oct 01, 2010 7:47 pm
Reply with quote

Hi Guy,

As i suspect there is more to this, i mentioned involving the dba. . . icon_smile.gif
Back to top
View user's profile Send private message
theone1987

New User


Joined: 14 Sep 2009
Posts: 60
Location: Milan

PostPosted: Fri Oct 01, 2010 7:49 pm
Reply with quote

i've done drop and create.

thank you.
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Cobol file using index COBOL Programming 2
No new posts z/vm installation problem All Other Mainframe Topics 0
Search our Forums:

Back to Top