Can only describe a SELECT statement

Item Value
SQLCODE -160
Constant SQLE_DESCRIBE_NONSELECT
SQLSTATE 07005
Sybase error code 3819
ODBC 2 State OK
ODBC 3 State OK

Probable cause 

In the C language interface, you attempted to describe the select list of a statement other than a SELECT statement.