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 

Check if tablespace is RW/RO

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


Joined: 13 Oct 2006
Posts: 2
Topics: 1

PostPosted: Fri Oct 13, 2006 6:28 am    Post subject: Check if tablespace is RW/RO Reply with quote

Hello all !

I want to know if it is possible to see if a tablespace is RW or RO in sql in DB2.

regards
Back to top
View user's profile Send private message Send e-mail
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Fri Oct 13, 2006 6:33 am    Post subject: Reply with quote

No, it isn't. The information you are looking for is a status bit maintained in memory by the DBM1 address space. Therefore SQL can't access this piece.

regards
Christian
Back to top
View user's profile Send private message
akwiesla
Beginner


Joined: 13 Oct 2006
Posts: 2
Topics: 1

PostPosted: Fri Oct 13, 2006 7:32 am    Post subject: Check if tablespace is RW/RO Reply with quote

Hello !

OK. If I run the -DIS DATABASE command I can see in what status the tablespace is.
If I run that in an JCL, how can I get the status to make a decision in the JCL ?

regards
Back to top
View user's profile Send private message Send e-mail
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