LDS VSAM and DB2.
LDS VSAM and DB2.
Hi,
DB2 is usually referred "as a good alternative to replace" VSAMs - but Db2 itslef uses LDS aas the underlying VSAM -- then why it is a better alternative? It may be dumb to ask but then can't all the functionality of DB2 be implemented in VSAMs itself one way or other?
DB2 is usually referred "as a good alternative to replace" VSAMs - but Db2 itslef uses LDS aas the underlying VSAM -- then why it is a better alternative? It may be dumb to ask but then can't all the functionality of DB2 be implemented in VSAMs itself one way or other?
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
-
- Former Team Member
- Posts: 62
- Joined: Wed Aug 07, 2013 6:43 pm
Re: LDS VSAM and DB2.
Code: Select all
can't all the functionality of DB2 be implemented in VSAMs itself one way or other?
The biggest difference to a coder is that DB2 is all about SQL and VSAM is not.
Hope this helps,
d
d
Re: LDS VSAM and DB2.
Thanks Pandora, this give a more info:
But I was just thiking what prompted them to have DB2 rather than improving VSAMs itself.Basically, a file management system is that component of the overall system that manages stored files. Loosely speaking, therefore, it is "closer to the disk" than the DBMS is. In fact, the DBMS is typically built on top of some kind of file manager. Thus, the user of a file management systems will be able to create and destroy stored files and perform simple retrieval and update operations on stored records in such files.
In contrast to the DBMS, file managers:
•are not aware of the internal structure of the stored records, and hence cannot handle requests that rely on a knowledge of that structure (such as "find all employees with salary less than $50,000").
•provide little or no support for security and integrity rules
•provide little or no support for recovery and concurrency controls
•have no true data dictionary concept
•provide much less data independence than the DBMS does
Re: LDS VSAM and DB2.
Thanks Dick.
I think it's like as UNIX is written in C and has it's own advantages; similarly DB2 has over VSAM...
I think it's like as UNIX is written in C and has it's own advantages; similarly DB2 has over VSAM...
-
- Former Team Member
- Posts: 62
- Joined: Wed Aug 07, 2013 6:43 pm
Re: LDS VSAM and DB2.
The UNIX user or an admin may all be writting in C, but there is underlying code (kernel) that is written in the assembler language of the hardware. At least is was years ago.I think it's like as UNIX is written in C and has it's own advantages; similarly DB2 has over VSAM...
I don't see the comparison between one coding language and another versus DB2 & VSAM. DB2 is a Database Management Syatem while VSAM is just another access method.
Hope this helps,
d
d
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute