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 

Change from VCAT to STOGROUP

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


Joined: 16 Oct 2005
Posts: 53
Topics: 24

PostPosted: Tue Aug 07, 2007 12:02 pm    Post subject: Change from VCAT to STOGROUP Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Aug 07, 2007 12:09 pm    Post subject: Reply with quote

SMS,

Check this link

http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db2tools.adb.doc.ug/switch.htm

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


Joined: 16 Oct 2005
Posts: 53
Topics: 24

PostPosted: Tue Aug 07, 2007 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Aug 07, 2007 12:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Tue Aug 07, 2007 4:22 pm    Post subject: Reply with quote

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
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