The following migration sample programs demonstrate conversion of DB-Library text and image code:
ex09ct.c – DB-Library’s example9.c converted to Client-Library. It illustrates conversion of code that updates a text/image column with a single dbwritetext call.
ex10ct.c – DB-Library’s example10.c converted to Client-Library. It illustrates conversion of code that updates a large text/image column in chunks using dbwritetext and dbmoretext.
ex11ct.c – DB-Library’s example11.c converted to Client-Library. It illustrates conversion of code that retrieves a large text/image column and saves it to an operating system file.
The sample programs are located in the following directory:
$SYBASE/$SYBASE_OCS/sample/dblibrary on UNIX
%SYBASE%\%SYBASE_OCS%\sample\dblib on Microsoft Windows
See the Open Client and Open Server Programmers Supplement for your platform.