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

Clarification on Repair Index & Indexspace


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

New User


Joined: 12 Sep 2006
Posts: 12
Location: India

PostPosted: Fri Aug 17, 2007 5:23 pm
Reply with quote

Hi,

If an index or an indexspace falls into a pending status, we use the repair utility statements - Repair Set Index or Repair Set Indexspace.

What is the need of Repair Set Index while the Repair Set IndexSpace solves the problem?

Please clarify.

Regards,
Arjun.
Back to top
View user's profile Send private message
noorkh

New User


Joined: 06 Mar 2006
Posts: 76
Location: Chennai

PostPosted: Mon Aug 20, 2007 7:48 pm
Reply with quote

Hi Arjun,

Indexspace works for both Index and Indexspace. They might want to give more clarity bettween Indexspace and single index. Even I am not sure why there are 2. But I am just guessing that it can be.

I may be wrong.
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Tue Aug 21, 2007 5:57 am
Reply with quote

I don't see any syntax like "Repair Set IndexSpace" in DB2 V7 manuals. Could you give an example of what was the problem and what you command you executed?

thanks.
Back to top
View user's profile Send private message
jontyjun

New User


Joined: 12 Sep 2006
Posts: 12
Location: India

PostPosted: Tue Aug 21, 2007 2:45 pm
Reply with quote

Hi Noorkh,

Yes we understand that Set Indexspace works for both Index and Indexspace, but I am not able to justify that the two statements are just present for clarity sake.... hope somebody will clarify us on this..


Hi Wanderer,

Please check in the DB2 V8 Manuals... There is no problem.. I just need a clarification on the my first post.

Example:
Repair Set Index Creator.Indxname nocopypend;
Repair Set Indexspace DBname.Indxspname nocopypend;

Executing any one of the above statements will repair the pending status.
Hence Why has the IBM provided The new Set Indexspace statement in DB2 V8?

Are there any other features for the Set Indexspace?

Regards,
Arjun.
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 Cobol file using index COBOL Programming 2
No new posts DL/I status code AK for GU call using... IMS DB/DC 1
No new posts Add column to existing records using ... JCL & VSAM 2
No new posts choice of clustering index DB2 3
No new posts Secondary index error while loading d... IMS DB/DC 2
Search our Forums:

Back to Top