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

How IMS knows what physical VSAM datasets to access


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gautam79

New User


Joined: 30 Aug 2006
Posts: 11
Location: India

PostPosted: Fri Mar 09, 2007 4:22 pm
Reply with quote

Hi,

An IMS application program uses PSB to access a database. PSB has DBD name and it comes to know what database to go and access.

What i want to know is how does IMS comes to know, which physical dataset corresponds to a particular database?

Please try to explain in detail!!
Thanks
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Mar 10, 2007 1:36 am
Reply with quote

We can tell the JOb to refer to Physical dataset by giving the corresponding DD name in the JCL.

//DBDNAME DD DSN=ACTUAL PHYSICAL Dataset

In some work sites there will be default physical dataset name allocation in that case you dont have to give the actual physical dataset name.
To use this default there should be some library like DYNALLIB in the JOBLIB statement of your job
Back to top
View user's profile Send private message
gautam79

New User


Joined: 30 Aug 2006
Posts: 11
Location: India

PostPosted: Mon Mar 12, 2007 10:43 am
Reply with quote

Thanks devzee, but in our case, we were using those DD names for our old JCLs, but when new version of IMS was implemented, after that we didnt require to use those DD names. The IMS would resolve those on its own.

Someone actually told me that RESLIB actually takes care of these. is that true?
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Mar 13, 2007 10:49 am
Reply with quote

It really depends how your system and jcls are configured.

Actually RESLIB contains load modules for IMS, for DD names we use DYNALLIB in JOBLIB card.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts Rotate partition-logical & physic... DB2 0
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
Search our Forums:

Back to Top