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

How do I code bind parameters to include 2 diff'nt subsystem


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

New User


Joined: 20 Dec 2005
Posts: 6
Location: chennai

PostPosted: Thu May 18, 2006 5:11 pm
Reply with quote

I am having a program which uses two tables that points to different subsystems (DBA1 & DBA2). How do I code my bind parameters to include both the subsystem. Please answer its urgent
Back to top
View user's profile Send private message
twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Thu May 18, 2006 5:24 pm
Reply with quote

Hi Girish,

You'll have to split the program into two such a way that one PGM could be bound to one subsystem and the other PGM to the other subsystem.

You can even design them such a way that one PGM calls the other.

You should then have a PACKAGE bind where one PGM bound to DBA1 (PACKAGE) and the other PGM bound to DBA2 (PACKAGE), finally stuffing the packages into one PLAN.

Hope this makes sense!

Cheers, Twissi.
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
Search our Forums:

Back to Top