Solved

Sybase ASE ODBC driver 4.2 - issue

Posted on 2009-05-19
1
1,185 Views
Last Modified: 2012-08-13
Hi
We are using Sybase ASE ODBC Driver version 4.20.00.06 (syodase.dll) from Sybase dated 6/25/2003. We are in the process of migrating from Sybase ASE ODBC Driver version 3.60.00.16 (syodase.dll) from Sybase dated 6/16/2000. We are using this from a VB app using a DSN-less connection string method of creating connections. I have pasted below the code for the connection string.

We ran into trouble when trying to execute a stored proc in the unchained mode on a Sybase 12.5 server.It just hangs in there and the db monitor shows that the connection is in the AWAITING COMMAND status. So my app just hangs in there until the connection timeout we have set in the code is reached and the connection is closed with an error message.

We don't have any issues with the old driver.

Any help would be most appreciated. Also is there any place where I can get teh documentation for these drivers?

Thanks a lot.
ConntStr = "ODBC;UID=" & Userid & ";PWD=" & Pwd & ";DRIVER=" & Trim(gADriver) & ";" & "NA=" & Server & "," & DbServerPort & ";DB=" & gDb & ";is=set ansinull off;"

Open in new window

0
Comment
Question by:pganeshkumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
pganeshkumar earned 0 total points
ID: 24425869
Found the issue myself. The driver requires me to explicitly mention the keyword "exec" before the stored proc name in the .CommandText property of the ADOCommand object whereas the previous version of the driver we sued would execute the stored proc without the need for the 'exec'.

Once I added this, the issue got resolved.
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question