You must have DB2 Connect installed, in some version (Personal or
Enterprise). Then you need to catalog the DB2 system as a database on
the Linux instance, with a Node for the MVS/DB2/port and as a DCS
database (three catalog statements):
catalog tcpip node <yournodename> remote <mvsIPorDNS> server
<MVSDB2PORT>;
catalog database <nameDB2islisteningon> as <LinuxlocalAlias> at node
<yournodename> authentication dcs;
catalog dcs database <nameDB2islisteningon> as <nameDB2islisteningon>;

Thanks,
Ed


                                                                                       
                           
                      "Johnson, Shaunn"                                                
                           
                      <SJohnson6@bcbsm.        To:       [EMAIL PROTECTED]            
                           
                      com>                     cc:                                     
                           
                      Sent by:                 Subject:  [DB2EUG] how to connect perl 
to mainframe?               
                      owner-db2eug@Lugw                                                
                           
                      ash.org                                                          
                           
                                                                                       
                           
                                                                                       
                           
                      11/01/2002 10:21                                                 
                           
                      AM                                                               
                           
                      Please respond to                                                
                           
                      "Johnson, Shaunn"                                                
                           
                                                                                       
                           
                                                                                       
                           







Howdy:


How do I access a DB/2 database from a perl script?
I have DB/2 version 6.1.1 on an MVS mainframe and I'm
trying to connect from a RedHat Linux box. I imagine that I
need the DBI modules and perhaps tools to install from
IBM.


What else do I need to connect to the mainframe database?
Someone wouldn't have happened to document / outlined
their methods, would they?


Thanks!


-X








-
:::  When replying to the list, please use 'Reply-All' and make sure
:::  a copy goes to the list ([EMAIL PROTECTED]).
***  To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
***  For more information, check http://www.db2eug.uni.cc

Reply via email to