To run Open Server applications, including samples, you must:
Be able to access Adaptive Server and the pubs2 sample database. See the Adaptive Server Enterprise Installation Guide for information on installing the pubs2 database.
Set these environment variables, which are described in Appendix B, “Environment Variables”:
SYBASE
SYBASE_OCS
DSQUERY and DSLISTEN
SYBPLATFORM
Platform-specific library path variable
Be able to connect to an Adaptive Server. See the Open Client and Open Server Configuration Guide for UNIX.
Set execute permission on the sybopts.sh file for the file’s owner:
chmod u+x sybopts.sh