DB2 API stage error

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
suneelchallagali
Participant
Posts: 251
Joined: Tue Dec 02, 2008 3:09 pm

DB2 API stage error

Post by suneelchallagali »

Biz_type..DB2_UDB_API_0: IBMCLI Driver CLI0124E SQLSTATE=HY009
Unable to connect to DB2 server '172.19.37.158'.
Biz_type..DB2_UDB_API_0.DSLink1: DSP.Open GCI $DSP.Open error -100.
suneelchallagali
Participant
Posts: 251
Joined: Tue Dec 02, 2008 3:09 pm

Post by suneelchallagali »

I am just loading dataa from db2 to file
suneelchallagali
Participant
Posts: 251
Joined: Tue Dec 02, 2008 3:09 pm

Post by suneelchallagali »

I have got the solution just type alias server name rather than writting IP or original server name. just create alias server name on host file and give the same name in db2 api stage under servername

thank you,
ravireddy25
Participant
Posts: 59
Joined: Wed Dec 31, 2008 5:49 am

Post by ravireddy25 »

can you plz expand it, iam also facing the same(below) issue

DSTAGE-DB2CLI-0027`:`SQLExecDirect: Error executing statement 'SELECT <columnames> FROM <tablename> '. See following DB2 message for details.
DSP.Open GCI $DSP.Open error -100.
Ravi
Post Reply