View previous topic :: View next topic |
Author |
Message |
akwiesla Beginner
Joined: 13 Oct 2006 Posts: 2 Topics: 1
|
Posted: Fri Oct 13, 2006 6:28 am Post subject: Check if tablespace is RW/RO |
|
|
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 |
|
|
CZerfas Intermediate
Joined: 31 Jan 2003 Posts: 211 Topics: 8
|
Posted: Fri Oct 13, 2006 6:33 am Post subject: |
|
|
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 |
|
|
akwiesla Beginner
Joined: 13 Oct 2006 Posts: 2 Topics: 1
|
Posted: Fri Oct 13, 2006 7:32 am Post subject: Check if tablespace is RW/RO |
|
|
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 |
|
|
|
|