What version of ASE are you using?
If the driver you are using is what I think it is, you are using a VERRRRY old DataDirect ODBC driver that required OpenClient to be installed underneath it, which was deprecated back in the early 12.0 or 12.5.x days (over 10 years ago) when we went to direct, wire-level drivers (no OpenClient required and stopped distributing the DataDirect drivers - development was brought in-house).
Please upgrade to the latest ASE 15.7 or 16.0 SDK. This will have the latest ODBC drivers.
If I am incorrect and you are using a current DataDirect driver, then I would still suggest you switch to the correct SAP ASE driver as above. Otherwise you will have to take this issue up with DataDirect support.
Chris