MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

backup pending state of a tablespace?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
wdnealis
Beginner


Joined: 17 Jan 2006
Posts: 25
Topics: 4

PostPosted: Thu Oct 26, 2006 8:33 am    Post subject: backup pending state of a tablespace? Reply with quote

I've been looking through the threads to resolve the issus of removing a backup pending state from a tablespace. When I try, I get a message that the DB is in use or Table space access is not allowed. Any ideas?
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Thu Oct 26, 2006 8:43 am    Post subject: Reply with quote

wdnealis,

well i' didn't exactly know what you did already and why is the tablespace in backup pending mode (you did any reorg activitys ????).

Try the DB2 command

-START DATABASE(<dbname>) SPACENAM(<spacename>) ACCESS=FORCE

This normaly (re-)starts the database / tablespace resolving the backup pending state.

regards,
bauer
Back to top
View user's profile Send private message
wdnealis
Beginner


Joined: 17 Jan 2006
Posts: 25
Topics: 4

PostPosted: Thu Oct 26, 2006 9:25 am    Post subject: Reply with quote

I think the problem occured when I tried a LOAD command from a file. The START DATABASE(SAMPLE) SPACENAM(USERSPACE1) ACCESS=FORCE command returns the following error:

SQL0104N An unexpected token "(" was found following "DATABASE". Expected
tokens may include: "MANAGER". SQLSTATE=42601
_______________

I aslo tried the RESTART DATABASE SAMPLE DROP PENDING TABLESPACES (USERSPACE1) command which said the command was successful, but did not resolve the issue because the list tablespaces shows:

Tablespace ID = 2
Name = USERSPACE1
Type = System managed space
Contents = Any data
State = 0x0020
Detailed explanation: Backup pending
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Oct 26, 2006 10:35 am    Post subject: Reply with quote

wdnealis,

Looking at your error messages I am guessing this is NOT mainframe DB2.

Check this link which might help you

http://www-128.ibm.com/developerworks/db2/library/techarticle/0202kline/0202kline.html

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wdnealis
Beginner


Joined: 17 Jan 2006
Posts: 25
Topics: 4

PostPosted: Thu Oct 26, 2006 11:03 am    Post subject: Reply with quote

I was trying to use Control Center to do a BACKUP, but I kept getting DB in USE. But the BACKUP from the CLP resolved the issue:

db2 backup database sample

Backup successful. The timestamp for this backup image is : 20061026115802


Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group