Re: Why all the max length constraints?
Date: Mon, 29 May 2006 16:38:09 GMT
Message-ID: <RrFeg.204979$7a.156481_at_pd7tw1no>
David Cressey wrote:
> "dawn" <dawnwolthuis_at_gmail.com> wrote in message
> news:1148773922.267863.170930_at_j55g2000cwa.googlegroups.com...
>
>>[OK, here is my next "stupid question" as I cut a path in my study of >>the RM. Those teachers who just want to tell this student how ignorant >>she is are welcome to sit this out as I really am hoping to >>understand.] >> >>In SQL-DBMS's, like VSAM (and other indexed sequential files before >>them) a lot of attributes are specified with max length constraints. >>While there are some attributes where this constraint is related to a >>conceptual constraint (from the analysis phase), these lengths are >>often introduced for the logical model or implemenation in the DBMS.
>
>
> Is VSAM really a DBMS? I looked up VSAM in wikipedia, and the definition I
> found suggests that VSAM is NOT a DBMS, although both IMS and DB2 are
> layered upon it.
> ...
no, it's not a DBMS. let me see if i can test what little memory i have left. others could give a more technical explanation but from using it up 'til about ten years ago and supporting it from time to time, from the programmer's point of view it was merely an access method /file system and mostly invisible to users (invisible in a way that most dbms could never be). it was also used to implement a system 'catalog' by several IBM os's but not in the sense of a dbms catalog more as a way to keep track of what files were on what disks. it had verbs like get, put (sequential access), read, write (random and keyed access). you'd open and close each file individually and usually also specify whether you were going to update it, in which case other users couldn't share it. record access was one-at-a-time referring always to the file handles/control blocks that were obtained at open time. files were usually 'defined' in terms of record lengths using the arcane interfaces that came with OS/MVS/DOSVS and so forth, such as JCL, clists. there was no notion of combining records or files other than at a file level such as concatenation. this was often done with the obscurely-named utility programs that came with those OS'es.
> In the world of DEC, which I know better, both Rdb/VMS and VAX DBMS were
> layered on KODA. KODA was not a DBMS but a useful building block.
> ...
> Is VSAM really bound to SQL as an interface language?
> ...
since there are SQL's that run on systems that don't have VSAM, i'd say no.
> I'd like to nail this down before I deal with the original question.
> ...
good luck, i think it's just one more red herring.
p Received on Mon May 29 2006 - 18:38:09 CEST