I compiled sybtcl using sybase Open Client 12.0 EBF9. I
used sybreadtext to read a text field contains a entire
uuencode binary file. It failed and give me this
message
sybtcl0 9 20020 -1 Bad token from SQL Server:
Datastream processing out of sync.
However, I can use dbdata to read the field correctly,
so I suggest you switch over to use dbdata instead. I
see another advantage of using dbdata is not to have
allocated a potentally large temp. buffer
LARGE_CHAR buf[TEXT_BUFF_SIZE];
in Sybtcl_Rdtext proc.
Thank you for you excellent work!