473,385 Members | 1,645 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,385 software developers and data experts.

name limits on 390

well, i can't remember being limited to 8 characters for something, except
in the good ole days of M$-dos. now i find that DB2/390 has a 8 character
limit on tablespace names?!?!?!?!?

given that tables can be 18 (closer to industry norms), this is truly
puzzling. while not a DB2 crunch, we have some utilities which munge
names from table names, thus i have to limit table names to 5 characters.
(this is an antique COBOL/VSAM institution). feel my pain.

will DB2/390 ever make this limit more reasonable?? since it is well
known (so i hear) that 390-ers typically put a table/VSAM file in its
own tablespace, and have for a long time, why this glaring anachronism??

spewingly,
robert
Nov 12 '05 #1
7 2742
In the coming version of DB2 for z/OS 8.1 most object names are
VARCHAR(128).
The system catalog will be in UTF-8 unicode.
Tablespace names are still 8 bytes though.
I think it is because filenames in z/OS have an 8 byte limit for names
(aaaaaaaa.bbbbbbbb.cccccccc)
robert wrote:
well, i can't remember being limited to 8 characters for something, except
in the good ole days of M$-dos. now i find that DB2/390 has a 8 character
limit on tablespace names?!?!?!?!?

given that tables can be 18 (closer to industry norms), this is truly
puzzling. while not a DB2 crunch, we have some utilities which munge
names from table names, thus i have to limit table names to 5 characters.
(this is an antique COBOL/VSAM institution). feel my pain.

will DB2/390 ever make this limit more reasonable?? since it is well
known (so i hear) that 390-ers typically put a table/VSAM file in its
own tablespace, and have for a long time, why this glaring anachronism??

spewingly,
robert


--
Anton Versteeg
IBM Certified DB2 Specialist
IBM Netherlands
Nov 12 '05 #2
Robert,

Which version are you on? AFAIK DB2 z/Series has done a lot of work in
the arena of limits in V8.

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #3
Serge Rielau <sr*****@ca.eye-be-em.com> wrote in message news:<c2**********@hanover.torolab.ibm.com>...
Robert,

Which version are you on? AFAIK DB2 z/Series has done a lot of work in
the arena of limits in V8.

Cheers
Serge

v6.1. the v7 book lists the same limit. some version of z/OS.
it really is odd that a container name is smaller, and by
such an amount.

maybe it's time to cut the cord to VSAM??? (yeah, i know,
phat chance <G>)

robert
Nov 12 '05 #4
Serge Rielau <sr*****@ca.eye-be-em.com> wrote in message news:<c2**********@hanover.torolab.ibm.com>...
Robert,

Which version are you on? AFAIK DB2 z/Series has done a lot of work in
the arena of limits in V8.

Cheers
Serge


just checked the on-line "What's new" for 390/v8. table names are/will be
128. other entities, too. but no mention of tablespace names. looks
like they remain at 8, thus leading to still more cryptic tables well
into the 21st century.

arghh. will anyone fess up to what it is that imposes the 8 character
limit?? OS/360?? COBOL?? VSAM?? CICS?? it Has To Be some cruft from
the 60s.

overwhelmedly,
robert
Nov 12 '05 #5
gn*****@rcn.com (robert) wrote in message news:<da*************************@posting.google.c om>...
what it is that imposes the 8 character limit?? OS/360?? COBOL??

VSAM?? CICS??

Robert,
DB2 for z/OS stores it's data in files. z/OS files can have names of
44 caracters max, and the names have to be composed using a number of
parts of 8 characters max each (called qualifiers). DB2 uses a strict
naming convention to assign names to the files it creates. A typical
name for a DB2 file looks about like this:
DB2T.DSNDBD.DB0008T.A177A.I0001.A001. The qualifier DB0008T is the
database name, A177A ist the tablespace name in my example. All other
qualifiers are set by DB2.
DB2 cannot get around the z/OS architecture limits, therefore the V8
has exactly the same convention for the tablespace datasets.
by the way, it is a good idea to keep the tablespace names short, as
you will have to create names for your image copy files, which can be
made for each partition of a tablespace. also these file names have to
fit in th 44 characters, which can get difficult.
We use a simple naming convention here for our tables and tablespaces,
and see no problem to administer the roughly 200'000 tables we have
per system:
Tables have a 2 byte appl code and a 3 digit number as their name
prefix, and the 3 digit number appears in the 5 byte tablespace name.
we use the same table qualifier for all tables to allow for
unqualified tablenames in appl programs. As database name and
tablespace name have to be unique, the 3 digit number start from 001
for every database. it's really no problem - but the architecture is a
bit different on the 390 systems ...
Nov 12 '05 #6
It's a MVS (MFS, PCP) restriction.Since the S/360 times.
Still a lot better than the old Bill Gates DOS restrictions though.

robert wrote:
Serge Rielau <sr*****@ca.eye-be-em.com> wrote in message news:<c2**********@hanover.torolab.ibm.com>...

Robert,

Which version are you on? AFAIK DB2 z/Series has done a lot of work in
the arena of limits in V8.

Cheers
Serge


just checked the on-line "What's new" for 390/v8. table names are/will be
128. other entities, too. but no mention of tablespace names. looks
like they remain at 8, thus leading to still more cryptic tables well
into the 21st century.

arghh. will anyone fess up to what it is that imposes the 8 character
limit?? OS/360?? COBOL?? VSAM?? CICS?? it Has To Be some cruft from
the 60s.

overwhelmedly,
robert


--
Anton Versteeg
IBM Certified DB2 Specialist
IBM Netherlands
Nov 12 '05 #7
Anton Versteeg <an************@nnll.iibbmm.com> wrote in message news:<40**************@nnll.iibbmm.com>...

well, since Old Bill (that's a term for the devil in English English,
if i recall correctly) stole the *nix hierarchical file system,
the fully qualified file name was allowed to be > 44 characters
since at least v2, or whichever supported hard drives and FAT16.

<rant #5>
and, of course, there's the issue of mapping tables to OS files in
the first place. of the industrial strength DBs, i believe it
can be said that DB2 is the last holdout; at least in the *nix
world. everybody else recognizes that a database belongs in one
file; three at the most: tables, indexes, logs. after all, it is
a DataBase, not a collection of files; an integrated organic whole
which is greater than the sum of its parts, which are indivisible,
etc, etc.
</rant #5>

robert

It's a MVS (MFS, PCP) restriction.Since the S/360 times.
Still a lot better than the old Bill Gates DOS restrictions though.

robert wrote:
Serge Rielau <sr*****@ca.eye-be-em.com> wrote in message news:<c2**********@hanover.torolab.ibm.com>...

Robert,

Which version are you on? AFAIK DB2 z/Series has done a lot of work in
the arena of limits in V8.

Cheers
Serge


just checked the on-line "What's new" for 390/v8. table names are/will be
128. other entities, too. but no mention of tablespace names. looks
like they remain at 8, thus leading to still more cryptic tables well
into the 21st century.

arghh. will anyone fess up to what it is that imposes the 8 character
limit?? OS/360?? COBOL?? VSAM?? CICS?? it Has To Be some cruft from
the 60s.

overwhelmedly,
robert

Nov 12 '05 #8

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

Similar topics

25
by: Maurice LING | last post by:
Hi, I think I've hit a system limit in python when I try to construct a list of 200,000 elements. My error is malloc: vm_allocate (size = 2400256) failed...... Just wondering is this...
11
by: Matt | last post by:
Hi everyone, still pretty new to MySQL. I was wondering if there is a way to automatically filter records based on a mysql userlogin name?? I have serveral databases that I want to combine in...
16
by: Mark Bruno | last post by:
Hey, I'm learning about the limits header, and I don't understand one snippit of code. If I code: #include <limits.h> #include <stdio.h> int main() { printf("Smallest signed long long:...
37
by: Carol Depore | last post by:
How do I determine the maximum array size? For example, int a works, but a does not (run time error). Thank you.
3
by: David T. Ashley | last post by:
I have this ugly habit of prefixing all function and variable names with some identifying information about the owning module and perhaps also the subcategory of function, i.e. ...
28
by: Peter Oliphant | last post by:
I have written a program using MS VS VC++ 2005 Express, /cli pure. Upon compiling it it works fine in the GUI development environment. It also works fine as a Debug stand-alone. ut I had an odd...
88
by: santosh | last post by:
Hello all, In K&R2 one exercise asks the reader to compute and print the limits for the basic integer types. This is trivial for unsigned types. But is it possible for signed types without...
13
by: Josip | last post by:
I'm trying to limit a value stored by object (either int or float): class Limited(object): def __init__(self, value, min, max): self.min, self.max = min, max self.n = value def...
44
by: vippstar | last post by:
n1256.pdf (C99 TC3), 5.2.4.1 Translation limits p1 says: Does that mean that *any* program using an array of two or more elements other than char is allowed to be rejected by an implementation?...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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...

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.