I said this, because exists a case in Sybase #10872296 that tell:
CASE DESCRIPTION
Getting message from ODBC about buflen parameter must be set to cs_unused. error message: ct_con_props(SET,NETIO): user api layer: external error: The buflen parameter must be set to CS_UNUSED. (9)
TIP OR WORKAROUND
this issue was related to the setup of the path environment variable and older lib files, it appeared to be picking up library files located in the system32 directory from a previous installation, to rememedy this, move the sybase entries in the path statement to the front and test, if that resolves the issue, then search the system for prevously installed files of an older sybase client (11.1) which may have placed files in the system32 directory and remove them
RESOLUTION
search system for older lib files, and modify path statement to point to new installation of client at the front Other Sources Related to Issue TechNote.