To run the Client-Library sample programs, you must:
Be able to connect to an Adaptive Server® Enterprise. See the Open Client and Open Server Configuration Guide for UNIX. Also, see the descriptions of the individual samples for the required Adaptive Server version level.
Set these environment variables, which are described in Appendix B, “Environment Variables”:
SYBASE
SYBASE_OCS
DSQUERY
SYBPLATFORM
Platform-specific library path variable
Read the README file in $SYBASE/$SYBASE_OCS/sample/ctlibrary directory for complete instructions on running the sample programs.