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

Connectin a single Db2 system between multiple CPUs


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

New User


Joined: 02 May 2006
Posts: 5
Location: Chennai

PostPosted: Wed Jul 26, 2006 4:48 pm
Reply with quote

Hi there ,

how can we establish connection to single DB2 system from multiple CPUs , I have simulated the process below

D1 is the DB2 sub system of MVS present in CPUX and I need to run a job in CPUY, the job from CPUY should be connected to D1 in CPUX and fetch some data and do the processing . Please give me some suggetion how establish the DB2 connection ..
Back to top
View user's profile Send private message
anamikak

New User


Joined: 10 May 2006
Posts: 64
Location: Singapore

PostPosted: Thu Jul 27, 2006 3:39 pm
Reply with quote

The connections between multiple db2 subsystems on different Z/OS is established through DRDA protocols.If you want your job on substem A(requester) to access data from substem B(server) on a different Z/os, all you have to do is create a package on the server side where the SQL statements would be executed and of course create a local package for the program(on the requester side). These two bind commands can be issued from the requester subsytem itself once with location name specified and once with the location name omitted. Once this is done, you can use the bind plan command tyo include the packages in the list with DBPROTOCOL(DRDA) access option in the command.

Anamika
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 Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
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 Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top