call to function SQLConnect failed.

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
bachi
Participant
Posts: 28
Joined: Sun May 25, 2008 7:02 am

call to function SQLConnect failed.

Post by bachi »

Hi All,

Recenly we upgraded our DataStage version from 7.1 to IBM DataStage 8.1. all stages are working fine except the ODBC stage. we are getting following error message


STG04UpdatePRISMORDEREQUIPMENTnew120051007..TRN_PREP: |STG04UpdatePRISMORDEREQUIPMENTnew120051007..PRISM_PKG__SET_IRD_STATUS_PRC: DSD.BCIConnect connecting to ops, call to function SQLConnect failed.
SQLSTATE=IM003, DBMS.CODE=0
[DataStage][SQL Client][ODBC][DataDirect][ODBC lib] Specified driver could not be loaded|

please advice

Thanks,
Ravi
chanaka
Premium Member
Premium Member
Posts: 96
Joined: Tue Sep 15, 2009 4:06 am
Location: United States

Re: call to function SQLConnect failed.

Post by chanaka »

Hi Ravi,

Please check the $DSHOME/.odbc.ini and confirm that the ODBC DSN entries are pointing to the proper path based on your new DS upgrade path.
Chanaka Wagoda
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You also need to check the uvodbc.config file in the project and, perhaps, in the DSEngine directory.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply