IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Why 2 Databases(DB2 and Vsam) in a single application?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
haidude

New User


Joined: 11 May 2007
Posts: 10
Location: Mumbai

PostPosted: Tue Jun 12, 2007 10:16 am
Reply with quote

I have faced one interview in this below question.Why 2 databases in a single application(DB2 and Vsam),why not one database(either DB2 or Vsam)?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jun 12, 2007 10:37 am
Reply with quote

VSAM is not a database; It is an Access Method.

Do you know that DB2 keeps its data in VSAM files?

O.
Back to top
View user's profile Send private message
haidude

New User


Joined: 11 May 2007
Posts: 10
Location: Mumbai

PostPosted: Tue Jun 12, 2007 1:30 pm
Reply with quote

I am agree with ur post but my question is why most of the Mainfrae application contain Db2 and Vsam,is there any specific reason?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 12, 2007 1:54 pm
Reply with quote

Quote:
VSAM is not a database; It is an Access Method.

Do you know that DB2 keeps its data in VSAM files?


Another way of putting this, is that VSAM is an access method, a way to access the data, and VSAM structured file can be used to store DB2, IMS, CICS, and more, not only DB2.
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Tue Jun 12, 2007 2:51 pm
Reply with quote

Hi Ofer71

Quote:
VSAM is not a database; It is an Access Method.

Do you know that DB2 keeps its data in VSAM files?



Expact

Quote:
Another way of putting this, is that VSAM is an access method, a way to access the data, and VSAM structured file can be used to store DB2, IMS, CICS, and more, not only DB2.



Can I know the real time exmples ot situation we use VSAM to store the data. I read this. But I never get a chance to work on VSAM till now. Please clarify my doubt.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 12, 2007 5:39 pm
Reply with quote

Hello,

There are millions of VSAM files around the world that are 10 -25 years old. Actually, in many places, the vsam environment is managed as a database environment - there just is no rdbms.

Many organizations have decided to implement new systems or upgrade older systems to take advantage of database technology. Often these new/upgraded systems still need to interact with existing systems.

If is very common for an application to use both vsam and database in the same code.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top