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

Tablespace in REORG pending state


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

New User


Joined: 23 Jul 2007
Posts: 26
Location: India

PostPosted: Fri Feb 26, 2010 12:53 pm
Reply with quote

Dear All,

Someone has run the Alter Index and the tablespace has gone to REORG pending state.

We are unable to remove the REORG pending status. If we run REORG it is not working. When we run REORG, indexes are going to Rebuild pending. We removed the rebuilding pending.
Let us know how to resolve the issue. Is there a way to take image copy of the tablespace when it is in REORG pending state?

Thanks in advance.

Regards,
srinivas
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Sat Feb 27, 2010 12:10 pm
Reply with quote

Srinivas,

Quote:
Is there a way to take image copy of the tablespace when it is in REORG pending state?


Try reading DB2 V(your version) Utility Reference Manual on chapter REORG TABLESPACE & REORG INDEX along with SHRLEVEL & INLINE copy.

Sushanth
Back to top
View user's profile Send private message
srinivas_naikk

New User


Joined: 23 Jul 2007
Posts: 26
Location: India

PostPosted: Mon Mar 01, 2010 3:07 pm
Reply with quote

Dear Sushanth,

Thanks for the reply.

We have already tried that. We got message to repair LEVELID.
When we tried to repair LEVEL ID, it failed stating tablespace in REORG pending.

Any other solution?

Regards,
srinivas
Back to top
View user's profile Send private message
srinivas_naikk

New User


Joined: 23 Jul 2007
Posts: 26
Location: India

PostPosted: Mon Mar 01, 2010 3:18 pm
Reply with quote

It is taking in Loop. Is there a way to reset LEVELID when the tablespace is in REORG pending state?
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Mon Mar 01, 2010 3:21 pm
Reply with quote

Please don't use Dear........

And Srinivas,

Can you show us the full error message.

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

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Mon Mar 01, 2010 3:23 pm
Reply with quote

Srinivas,

Quote:
It is taking in Loop.


Can you explain, what was done to get a LEVELID program for a tablespace ?

Sushanth
Back to top
View user's profile Send private message
srinivas_naikk

New User


Joined: 23 Jul 2007
Posts: 26
Location: India

PostPosted: Mon Mar 01, 2010 4:46 pm
Reply with quote

Sushanth,

When I try reorg, I get

REORG TABLESPACE DBENT.ENT SHRLEVEL REFERENCE COPYDDN(COPYDDN)
RESOURCE UNAVAILABLE
REASON 00C2010D
TYPE 00000220
NAME DSNC.DSNDBC.DBENT.ENT.I0001.A001


When I try Imagecopy job

COPY TABLESPACE DBENT.ENT SHRLEVEL REFERENCE COPYDDN(COPYDDN)
RESOURCE UNAVAILABLE
REASON 00C2010D
TYPE 00000220
NAME DSNC.DSNDBC.DBENT.ENT.I0001.A001

When I run Repair LEVELID job, I get this error


REPAIR LEVELID TABLESPACE DBENT.ENT
REORG PENDING ON TABLE SPACE DBENT.ENT PROHIBITS PROCESSING
Back to top
View user's profile Send private message
Karthikeyan Subbarayan

New User


Joined: 24 Feb 2008
Posts: 62
Location: Boston

PostPosted: Mon Mar 01, 2010 4:59 pm
Reply with quote

Can You STOP the DataBase and Start the Database once again.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Mon Mar 01, 2010 5:16 pm
Reply with quote

Srinivas,

Check the status of the tablespace and after doing that run LOAD REPLACE or RECOVER to replace the data in the tablespace.

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 Reorg abended with REASON=X'00E40347' DB2 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts force tablespace using LISTDEF input DB2 1
No new posts Map VSAM Dataset to a Table/Tablespace DB2 5
No new posts DB2 tablespace space limitation DB2 3
Search our Forums:

Back to Top