Unable to connect to UDB Db2 on Unix

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
nvuradi
Participant
Posts: 54
Joined: Tue Dec 12, 2006 11:03 pm

Unable to connect to UDB Db2 on Unix

Post by nvuradi »

Hi ,

When I am trying to connect to db2 Udb on UNIX, I am getting the following error.

05:30:17(000) <DB2_UDB_Enterprise_0> The getpwnam() function failed for the DB2INSTANCE environment variable

this is the first time i am trying to connect to this database from my datastage.

also i have checked for the variables in dsenv file


DB2DIR
DB2INSTANCE
INSTHOME
LD_LIBRARY_PATH1
THREADS_FLAG

and they are set.

can anyone help me solving this issue?

appreciate your help.

thanks,
Naren
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

Connecting to DB2 is a pain. Have a look at the IBM developerworks article Configure DB2 remote connectivity with WebSphere DataStage Enterprise Edition.
Post Reply