The sample programs are located in $SYBASE/$SYBASE_OCS/sample/ctlibrary.
This directory includes:
Source code for the sample programs.
Data files for the samples.
The makefile provided to build the samples. Use the makefile as a starting point for your own Client-Library applications.
The samples header file, example.h.
The README file containing instructions for building, executing, and testing the samples.
Before compiling and running the sample programs, copy the contents of $SYBASE/$SYBASE_OCS/sample/ctlibrary into a working directory, where you can experiment with the sample programs without affecting the integrity of the original files.