ODBC problem

I have problem in aagent where ODBC connection created, this agent run since so many years but suddenly it show problem “LS:DO- ODBC could not complete the requested operation.” , so i have checked connection on this server and connection is ok but still it show problem at line

Call con.connectto(dsn, userid, pass) where DSN=“TOS”, userid="dba and pass=“sql” , it show below error

My Simple agent is →

Sub Initialize

On Error Goto errH



Dim con As New odbcconnection

Dim qry As New odbcquery

Dim result As New odbcresultset

Dim dsn As String

Dim userid As String

Dim pass As String



dsn="TOS"

userid="dba"

pass="sql"



Set qry.connection = con

Set result.query = qry

Call con.connectto(dsn, userid, pass)



Msgbox "Hi"

errH:

Msgbox "Error found in Initialize at line No : "+Cstr(Erl)+" Error details as follows : "+Error$

End Sub

Can any one help in this problem

Subject: ODBC problem

OK so let think about what has changed. Is this a scheduled agent?

Is the agent signed correctly.

Here are some urls that describe thsat issue

http://www-01.ibm.com/support/docview.wss?uid=swg21515245

Are you really running 7.03 ? Not supported by IBM anymore.

If it really is client did they download any MS patches that might have caused this issue?

Subject: RE: ODBC problem

Thanks i got my problem solution and it was ok now

Subject: And what was your solution?

It’s kind of selfish to ask for help, but then not share how you resolved the problem, so that others in the future who may have the same problem can resolve it.