473,395 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

SECQTY Maxiumum Value for Z/os version 7.2

Apparently the maximum value of SECQTY for all tablespaces at a site I
am supporting is 131068 which is a pre version 6.2 maximum. Any
insight would be appreciated.

Spufi alter and catalogue queries:
********************************* Top of Data
**********************************
---------+---------+---------+---------+---------+---------+---------+---------+
select dbname, tsname, pqty*4, sqty*4 from sysibm.systablepart where
00010000
dbname='TESTDB' and tsname='TESTTS';
00020001
---------+---------+---------+---------+---------+---------+---------+---------+
DBNAME TSNAME

---------+---------+---------+---------+---------+---------+---------+---------+
TESTDB TESTTS 400000 131068

DSNE610I NUMBER OF ROWS DISPLAYED IS 1

DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 100

---------+---------+---------+---------+---------+---------+---------+---------+
commit;
00030000
---------+---------+---------+---------+---------+---------+---------+---------+
DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0

---------+---------+---------+---------+---------+---------+---------+---------+
ALTER TABLESPACE TESTDB.TESTTS SECQTY 200000;
00040000
---------+---------+---------+---------+---------+---------+---------+---------+
DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0

---------+---------+---------+---------+---------+---------+---------+---------+
commit;
00041000
DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0

---------+---------+---------+---------+---------+---------+---------+---------+
select dbname, tsname, pqty*4, sqty*4 from sysibm.systablepart where
00050000
dbname='TESTDB' and tsname='TESTTS';
00060001
---------+---------+---------+---------+---------+---------+---------+---------+
DBNAME TSNAME

---------+---------+---------+---------+---------+---------+---------+---------+
TESTDB TESTTS 400000 131068

DSNE610I NUMBER OF ROWS DISPLAYED IS 1

DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 100

---------+---------+---------+---------+---------+---------+---------+---------+
---------+---------+---------+---------+---------+---------+---------+---------+
DSNE617I COMMIT PERFORMED, SQLCODE IS 0

DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0

---------+---------+---------+---------+---------+---------+---------+---------+

V5 Manual:
If USING STOGROUP is specified, SECQTY has the default specified in the
description of USING STOGROUP. However, if ALTER TABLESPACE is being
used to convert from user-defined data sets to storage groups and
PRIQTY is specified, the default for SECQTY is either 10% of PRIQTY or
3 times the page size of the table space, whichever is
# larger (if this value exceeds 131068, the default is 131068.) If
SECQTY is specified, the secondary space allocation is at least n
kilobytes, where n is the value of integer except in these cases:
If the page size is 4KB and integer is greater than 131068, then n is
131068.
If the page size is 32KB and integer is greater than 131040, then n is
131040.

V 7 IBM Manual:
http://publib.boulder.ibm.com/cgi-bi...0041109152456&
If SECQTY is specified, the secondary space allocation is at least n
kilobytes, where n is the value of integer with the following
exceptions:
If integer is greater than 4194304 kilobytes, n is 4194304. A value of
0 for integer indicates that no data set can be extended.

Nov 12 '05 #1
7 2926
<ju*********@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Apparently the maximum value of SECQTY for all tablespaces at a site I
am supporting is 131068 which is a pre version 6.2 maximum. Any
insight would be appreciated.

What is the question?
Nov 12 '05 #2
JB
Sorry for not stating my question clearly in my initial note.

Situation: My site which is version 7 has a maximum value of 131068
for secondary quantity(SECQTY) for a tablespace when the manual
indicates it should be 4194304.

Questions:

Am I reading the manual correctly and is this really a problem/issue?

Can anyone think why this would be the case?

What is the resolution to this if it is indeed a problem.
Information from my first note that may be of value:

Two references to online IBM manuals both version 5 and version 7 which
indicate a max value of 131068(for version 5) and 4194304(for version
7) for SECQTY.

SPUFI output in which I query the catalogue, alter the tablespace, and
then query the catalogue again. Despite altering the SECQTY to a
number above 131068 my subsequent query shows the value to be 131068 in
the catalogue.

Nov 12 '05 #3
"JB" <ju*********@hotmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Sorry for not stating my question clearly in my initial note.

Situation: My site which is version 7 has a maximum value of 131068
for secondary quantity(SECQTY) for a tablespace when the manual
indicates it should be 4194304.

Questions:

Am I reading the manual correctly and is this really a problem/issue?

Can anyone think why this would be the case?

What is the resolution to this if it is indeed a problem.
Information from my first note that may be of value:

Two references to online IBM manuals both version 5 and version 7 which
indicate a max value of 131068(for version 5) and 4194304(for version
7) for SECQTY.

SPUFI output in which I query the catalogue, alter the tablespace, and
then query the catalogue again. Despite altering the SECQTY to a
number above 131068 my subsequent query shows the value to be 131068 in
the catalogue.

I don't know the answer to your question, but I don't really understand why
you need such a large secondary quantity. Most times it is best to fit the
entire tablespace in the primary quantity. But if secondary quantities are
necessary, I believe that you get up to 127 secondary quantities if needed
(although that may be higher since I have not looked recently). That is, you
don't just get one secondary quantity.
Nov 12 '05 #4
JB
The maximum number of extents is 254-256 irrc and has been for awhile.
Sometimes very large tablespaces, even partitioned, need to go into
several extents e.g. a history table with a large varchar field that
tracks every event for every policy for a multi-billion dollar
insurance company over the course of the last 100 years. You can't
always get what you need in the primary and need a large amount of
secondary space.

A friend of mine from another v7 z/os site queried his catalogues and
was unable to find a value higher than 131068. Is this the real v7
z/os limit?

A catalogue query from my first note:
select dbname, tsname, pqty*4, sqty*4 from sysibm.systablepart where
dbname='TESTDB' and tsname='TESTTS';

Nov 12 '05 #5
"JB" <ju*********@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
The maximum number of extents is 254-256 irrc and has been for awhile.
Sometimes very large tablespaces, even partitioned, need to go into
several extents e.g. a history table with a large varchar field that
tracks every event for every policy for a multi-billion dollar
insurance company over the course of the last 100 years. You can't
always get what you need in the primary and need a large amount of
secondary space.

A friend of mine from another v7 z/os site queried his catalogues and
was unable to find a value higher than 131068. Is this the real v7
z/os limit?

A catalogue query from my first note:
select dbname, tsname, pqty*4, sqty*4 from sysibm.systablepart where
dbname='TESTDB' and tsname='TESTTS';

I believe that the limit on extents is from VSAM. I do recall that it was
increased from 127 awhile ago, but could not remember what the current max
size is. I understand that "several extents" are necessary, but it seems to
me that 255 should be enough, even if the size is limited to 131068. Maybe
the primary should be larger.
Nov 12 '05 #6
Hello,

to support secondary quantity values above 32767 4k-pages (131.068 kB), two
new integer columns with name SECQTYI were added to catalog tables
SYSIBM.SYSTABLEPART and SYSIBM.SYSINDEXPART in DB2 z/OS Version 6. This
columns act like an "overflow" field for the columns SECQTY that can only
hold values up to 32767 because of their SMALLINT datatype nature. See the
SQL Reference Appendix D (DB2 Catalog Tables) for further details...

Regards - Walter SCHNEIDER.
<ju*********@hotmail.com> schrieb im Newsbeitrag
news:11**********************@z14g2000cwz.googlegr oups.com...
Apparently the maximum value of SECQTY for all tablespaces at a site I
am supporting is 131068 which is a pre version 6.2 maximum. Any
insight would be appreciated.

Spufi alter and catalogue queries:
********************************* Top of Data
**********************************
---------+---------+---------+---------+---------+---------+---------+---- -----+ select dbname, tsname, pqty*4, sqty*4 from sysibm.systablepart where
00010000
dbname='TESTDB' and tsname='TESTTS';
00020001
---------+---------+---------+---------+---------+---------+---------+---- -----+ DBNAME TSNAME

---------+---------+---------+---------+---------+---------+---------+---- -----+ TESTDB TESTTS 400000 131068

DSNE610I NUMBER OF ROWS DISPLAYED IS 1

DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 100

---------+---------+---------+---------+---------+---------+---------+---- -----+ commit;
00030000
---------+---------+---------+---------+---------+---------+---------+---- -----+ DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0

---------+---------+---------+---------+---------+---------+---------+---- -----+ ALTER TABLESPACE TESTDB.TESTTS SECQTY 200000;
00040000
---------+---------+---------+---------+---------+---------+---------+---- -----+ DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0

---------+---------+---------+---------+---------+---------+---------+---- -----+ commit;
00041000
DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0

---------+---------+---------+---------+---------+---------+---------+---- -----+ select dbname, tsname, pqty*4, sqty*4 from sysibm.systablepart where
00050000
dbname='TESTDB' and tsname='TESTTS';
00060001
---------+---------+---------+---------+---------+---------+---------+---- -----+ DBNAME TSNAME

---------+---------+---------+---------+---------+---------+---------+---- -----+ TESTDB TESTTS 400000 131068

DSNE610I NUMBER OF ROWS DISPLAYED IS 1

DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 100

---------+---------+---------+---------+---------+---------+---------+---- -----+ ---------+---------+---------+---------+---------+---------+---------+---- -----+ DSNE617I COMMIT PERFORMED, SQLCODE IS 0

DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0

---------+---------+---------+---------+---------+---------+---------+---- -----+
V5 Manual:
If USING STOGROUP is specified, SECQTY has the default specified in the
description of USING STOGROUP. However, if ALTER TABLESPACE is being
used to convert from user-defined data sets to storage groups and
PRIQTY is specified, the default for SECQTY is either 10% of PRIQTY or
3 times the page size of the table space, whichever is
# larger (if this value exceeds 131068, the default is 131068.) If
SECQTY is specified, the secondary space allocation is at least n
kilobytes, where n is the value of integer except in these cases:
If the page size is 4KB and integer is greater than 131068, then n is
131068.
If the page size is 32KB and integer is greater than 131040, then n is
131040.

V 7 IBM Manual:
http://publib.boulder.ibm.com/cgi-bi...0041109152456& If SECQTY is specified, the secondary space allocation is at least n
kilobytes, where n is the value of integer with the following
exceptions:
If integer is greater than 4194304 kilobytes, n is 4194304. A value of
0 for integer indicates that no data set can be extended.

Nov 12 '05 #7
JB
Thank you Mr. Schneider! This was exactly the information I was looking
for. Despite attempting to google the information and search the IBM
manuals I was not able to come up with this answer.

Apparently our version of DBArtisan, 7.3.1 irrc, uses the SQTY as
opposed to the SECQTYI from the catalogue to reverse engineer the DDL.

SYSIBM.SYSTABLEPART table
http://publib.boulder.ibm.com/cgi-bi...0041109152456&

Nov 12 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Shufen | last post by:
Hi, I'm a newbie that just started to learn python, html and etc. I have some questions to ask and hope that someone can help me on. I'm trying to code a python script (with HTML) to get...
4
by: Lénaïc Huard | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've some namespace problems when defining default values for attributes. My problem seems to come from the fact that the attributes are...
4
by: Pat Turner | last post by:
Hi, I have some XML like this: <family> <person name="bob"> <father ref="../../person" /> </person> <person name="charlie"> <child ref="../../person" />
2
by: Prabhat | last post by:
Hi all, I have one combobox where I want to display Name of the Products that are loaded in the collection object. But I am able to send only ID and Name of the Product where ID is the value of...
8
by: patrizio.trinchini | last post by:
Hi All, I'would like to write an XSL transformation that changes the value of the atribute of a given element according to the value of another atttribute of the same element. For instance,...
17
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I get the value of a form control? -----------------------------------------------------------------------...
14
by: Phil | last post by:
I have been using this code to display the version number, and this has worked well, but I am now changing from using the ClickOnce publishing to a proper setup project, and this no longer works. ...
0
by: linardi | last post by:
Hy everyone, I'm totally new in DB2 and currently doing some study concerning tablespace setting parameter and having some doubts in PRIQTY and SECQTY. Actually what are they ? What're their...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.