Invalid sqllen field in SQLDA

Error constant SQLE_INVALID_SQLLEN
ODBC 2 State HY090
ODBC 3 State HY090
Severity 16
SQLCODE –856
SQLSTATE 07W08
Sybase error code 13859
Probable cause

An invalid length was specified in a SQLDA sqllen field. All variable length types must have a non-negative length. The DT_BINARY and DT_VARCHAR types must have length greater than one.