DB2 UDB API Connection

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
snassimr
Premium Member
Premium Member
Posts: 281
Joined: Tue May 17, 2005 5:27 am

DB2 UDB API Connection

Post by snassimr »

Hi !

What my possibiliteies to connect to DB2 on AS400 .

Can I use DB2 UDB API ?
garthmac
Charter Member
Charter Member
Posts: 55
Joined: Tue Oct 21, 2003 9:17 am
Location: UK

Post by garthmac »

Yes! I use the DB2 plugin to access DB2 on Unix and AS400.
Garth
snassimr
Premium Member
Premium Member
Posts: 281
Joined: Tue May 17, 2005 5:27 am

Post by snassimr »

Can you post basic configuration generated wiith tool of designer ?

I get errror Win32 error in Load Library dsdb2.dll

what does it mean ?
garthmac
Charter Member
Charter Member
Posts: 55
Joined: Tue Oct 21, 2003 9:17 am
Location: UK

Post by garthmac »

Sorry, I don't think I'll be of much help with your setup because our DataStage installation is on Unix. Have you done a search on the internet to help diagnosing your Win32 error?
Garth
grnelson75
Participant
Posts: 1
Joined: Wed Jul 07, 2004 6:58 pm

Post by grnelson75 »

garthmac wrote:Sorry, I don't think I'll be of much help with your setup because our DataStage installation is on Unix. Have you done a search on the internet to help diagnosing your Win32 error?
I am getting the same error but on AIX. It's complaining aobut not being able to load drsdb2.so. Anyone know how to fix this?
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

Have you gone through the DB2 installation steps in the DataStage Installation guide? You need to make sure the correct settings have been applied to the dsenv file and the setup and grant scripts have been run.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I believe you will need to have DB2 Connect installed to be able to use the DB2 UDB API from a UNIX machine to access tables on an AS/400 machine.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DaleK
Premium Member
Premium Member
Posts: 68
Joined: Fri Jun 27, 2003 8:33 am
Location: Orlando

Post by DaleK »

Yes, you need DB2 connect installed on the datastage sever. You only need the client installed on the DataStage server. The server or Gateway (that's what the DB2 connect person here calls it) piece resides on a seperate server in our house.

Then you need to change your dsenv file to add the path to where DB2 connect is installed, and of course stop and restart DataStage.

Have a great day,
Post Reply