To run DB-Library applications, including the sample programs, you must:
Set the following environment variables, which are described in Appendix B, “Environment Variables”:
SYBASE
DSQUERY
SYBPLATFORM
Platform-specific library path variable
Be able to connect to Adaptive Server®. Refer to the Open Client and Open Server Configuration Guide for UNIX for information about connecting to Adaptive Server.
Read the README file in each product directory under $SYBASE/sample. Complete instructions for running the samples are given in the README file.
See the following sections for descriptions and additional requirements of the individual sample programs.