View previous topic :: View next topic |
Author |
Message |
SMS Beginner
Joined: 16 Oct 2005 Posts: 53 Topics: 24
|
Posted: Tue Aug 07, 2007 12:02 pm Post subject: Change from VCAT to STOGROUP |
|
|
Hi All,
We have a tablespace created as below. Now this table space is quickly approaching its maximum limit of 4GB. As a quick fix, we are planning to alter the Tablespace from VCAT to use STOGROUP and later we are planning to increase the TS size from 4GB to 8GB.
Is it possible to alter the table space to use STOGROUP instead of VCAT without dropping the tablespace/table ?
Please give your inputs.
Code: |
CREATE TABLESPACE MSBB101S
IN ACCTTRAN
USING VCAT DDSSVS00
FREEPAGE 10 PCTFREE 10
GBPCACHE CHANGED
TRACKMOD YES
NUMPARTS 10
(PART 2
USING VCAT DDSSVS00,
PART 3
USING VCAT DDSSVS00,
PART 4
USING VCAT DDSSVS00,
PART 5
USING VCAT DDSSVS00,
PART 6
USING VCAT DDSSVS00
FREEPAGE 0 PCTFREE 5,
PART 7
USING VCAT DDSSVS00,
PART 8
USING VCAT DDSSVS00,
PART 9
USING VCAT DDSSVS00,
PART 10
USING VCAT DDSSVS00)
BUFFERPOOL BP23
LOCKSIZE ANY
LOCKMAX SYSTEM
CLOSE NO
COMPRESS YES
CCSID EBCDIC
DEFINE YES
MAXROWS 255;
|
Thanks
SMS |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
SMS Beginner
Joined: 16 Oct 2005 Posts: 53 Topics: 24
|
Posted: Tue Aug 07, 2007 12:36 pm Post subject: |
|
|
Thanks Kolusu. That link was very useful.
From that link I understood that the conversion can be done without dropping the tablespace.
I have one more doubt. Is it possible to do this through a batch utility ?
Actually I am not a DBA but I have been asked to do this and I am not having DBA authority.
Normally for the DDL/DML changes we will be executing the batch jobs through CRISS (a installation suupport system).
Thanks,
SMS _________________ Regards,
SMS |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Aug 07, 2007 12:55 pm Post subject: |
|
|
Quote: |
I have one more doubt. Is it possible to do this through a batch utility ?
Actually I am not a DBA but I have been asked to do this and I am not having DBA authority.
|
SMS,
I highly doubt if you can alter a tablespace without DBADM authority.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
videlord Beginner
Joined: 09 Dec 2004 Posts: 147 Topics: 19
|
Posted: Tue Aug 07, 2007 4:22 pm Post subject: |
|
|
if your concern is the limitation of 4GB, it's not related to using VCAT or STOGROUP (DB2 control or user maintenance).
You should define SMS Data Class with EA-enabled, and convert the data sets to SMS-controlled (associate the data sets with the SMS DC.
And if you want to change the DSSIZE to 8G or whatever, you must drop and recreate the tablespace. The DSSIZE cannot be changed by ALTER TABLESPACE after the page set is created. |
|
Back to top |
|
 |
|
|