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

You supplied an invalid value as the TEXTPTR for a WRITETEXT or READTEXT statement.