The sample programs are located in the %SYBASE%\%SYBASE_OCS%\sample\dblib directory.
This directory contains:
Source code for the sample programs
Data files for the sample programs
Header files, including sybdbex.h
Create a backup copy of the contents of the directory
where the sample programs reside. Then, you can experiment with
the sample programs without affecting the integrity of the original
files.