The sample programs are located in $SYBASE/$SYBASE_OCS/sample/dblibrary directory.
This directory contains:
Source code for the sample programs
Data files for the samples
The samples header file, sybdbex.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/dblibrary into
a “working” directory, where you can experiment
with the sample programs without affecting the integrity of the
original files.