Dynamic access to IMS databases



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

Dynamic access to IMS databases

Postby Praveenkumar M » Mon Apr 01, 2013 9:02 pm

Hi, is it possible to access different IMS databases dynamically from a COBOL IMS Batch program? If possible, Please assist me how to do that.
Praveenkumar M
 
Posts: 2
Joined: Mon Jun 18, 2012 5:58 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Dynamic access to IMS databases

Postby c62ap90 » Tue Apr 02, 2013 1:57 am

What is your definition of "dynamically"? Can you be more specific in what you are trying to do?
c62ap90
 
Posts: 125
Joined: Thu Oct 11, 2012 10:24 pm
Has thanked: 1 time
Been thanked: 7 times

Re: Dynamic access to IMS databases

Postby pmartyn » Wed Apr 24, 2013 2:18 am

IMS is not Java. Objects are not inherited. IMS requires a PSB to access Databases. The PSB statements define the databases to be accessed by the application program. The statement also defines the type of operations allowed by the application program. Each database requires a separate PCB statement. PSB generation allows for up to 255 database PCBs (less the number of alternate PCBs defined). That limitation alone suggests that even if you were to create a PSB to access everything, after 255 databases you will lose access.

So; to answer your question 'No'
pmartyn
 
Posts: 42
Joined: Thu Feb 28, 2013 7:11 pm
Has thanked: 5 times
Been thanked: 3 times


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post