If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > OS/390 and create tablespace ...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-30-04, 03:36
bab bab is offline
Registered User
 
Join Date: Feb 2004
Posts: 37
OS/390 and create tablespace ...

hi all,

when createing a database on OS/390 like

CREATE DATABASE xxxx
.........
........
.........
STOGROUP yyyy ;


is it mandatory to declare the "USING STOGROUP" parameter when creating a tablespace in the same database? or the default STOGROUP yyyy of database will be used?

CREATE TABLESPACE tttt
IN xxxx
USING STOGROUP yyyy -- mandatory for database xxxx ???

thanks

bab
Reply With Quote
  #2 (permalink)  
Old 03-30-04, 10:26
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
If you omit the USING block on the TS definition, the default storage group of the database will be used (assuming it exists in the database definition). I am not 100% sure, but I believe that if you omit the STOGROUP on the TS definition, you must also omit the other parts of the USING block and you will get the default PRIQTY and SECQTY allocations (12K for a 4K page size).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 03-30-04 at 10:47.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On