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

CICS DB2 connection to multiple databases


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gosia

New User


Joined: 19 Apr 2006
Posts: 10

PostPosted: Fri Jun 30, 2006 7:12 pm
Reply with quote

Can anyone help me to resolve my issue.
My CICS program has to connect to two different BD2 databases.
I know I have to have an RCT entry for my CICS pgm and
I need a Plan. How can I create Bind card to include 2 different owners
and qualifiers in one bind?

Gosia

Here is my card for one plan: CPSTBL01



BIND PLAN (CPSTBL01) +
PKLIST (PEDBL@00.* +
, PEDBLR00.* +
, PEDBLW00.*) +
OWNER (DBPNY01) +
QUALIFIER (DB2PEDB) +
ACTION (REPLACE) +
VALIDATE (BIND) +
ISOLATION (CS) +
RELEASE (COMMIT) +
EXPLAIN (YES) +
RETAIN
END
Back to top
View user's profile Send private message
rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Fri Jun 30, 2006 7:31 pm
Reply with quote

why can't we think of creating alias to other database

it's just a thought..

Regards
jai
Back to top
View user's profile Send private message
gosia

New User


Joined: 19 Apr 2006
Posts: 10

PostPosted: Fri Jun 30, 2006 7:44 pm
Reply with quote

I should be more specific on this issue.
My CICS pgm links to DB2 pgm - own1.dbase and it calls API (which accesses own2.dbase). Db2 pgm and API pgm are already included in packages. In bind card I included above, I only refer to package list for API. Now I have to modified this card to include another packages for second DB2 application. Both programs access different databases
with different qualifiers and different owners.

And this is where I do not know, how can I combine them both in one PLAN?


Gosia
Back to top
View user's profile Send private message
rashmi.ranjan75

New User


Joined: 20 Feb 2006
Posts: 34

PostPosted: Tue Jul 04, 2006 7:48 pm
Reply with quote

i don't think it is possible to use different owners in your case. you need to bind the plan with same owner. you keep the same owner for the plan in two databases and i am sure it will solve ur purpose.

Regards
Rashmi
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Calling an Open C library function in... CICS 1
Search our Forums:

Back to Top