Invalid TEXTPTR value used with WRITETEXT or READTEXT

Error constant SQLE_INVALID_TEXTPTR_VALUE
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -608
SQLSTATE 22W03
Sybase error code 7123
 Probable cause