Source code from blog post : http://lostinmac.com/2013/06/26/sybase-et-le-c-4eme-partie-acceder-a-sybase-via-unixodbc/