LDS VSAM and DB2.

RDBMS from IBM and IBM's Hierarchical DBMS and Transaction Manager (IMS DC).
Post Reply
User avatar
Atif Alam
Registered Member
Posts: 10
Joined: Fri Jan 17, 2014 2:05 pm

LDS VSAM and DB2.

Post by Atif Alam »

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?
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: LDS VSAM and DB2.

Post by zprogrammer »

zprogrammer
dick scherrer
Former Team Member
Posts: 62
Joined: Wed Aug 07, 2013 6:43 pm

Re: LDS VSAM and DB2.

Post by dick scherrer »

Code: Select all

can't all the functionality of DB2 be implemented in VSAMs itself one way or other?
Not by a developer - No.

The biggest difference to a coder is that DB2 is all about SQL and VSAM is not.
Hope this helps,
d
User avatar
Atif Alam
Registered Member
Posts: 10
Joined: Fri Jan 17, 2014 2:05 pm

Re: LDS VSAM and DB2.

Post by Atif Alam »

Thanks Pandora, this give a more info:
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
But I was just thiking what prompted them to have DB2 rather than improving VSAMs itself.
User avatar
Atif Alam
Registered Member
Posts: 10
Joined: Fri Jan 17, 2014 2:05 pm

Re: LDS VSAM and DB2.

Post by Atif Alam »

Thanks Dick.

I think it's like as UNIX is written in C and has it's own advantages; similarly DB2 has over VSAM...
dick scherrer
Former Team Member
Posts: 62
Joined: Wed Aug 07, 2013 6:43 pm

Re: LDS VSAM and DB2.

Post by dick scherrer »

I think it's like as UNIX is written in C and has it's own advantages; similarly DB2 has over VSAM...
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 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
Post Reply

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

Register

Sign in

Return to “IBM DB2 and IMS DB/DC”