Before you begin

Table 3-1 lists the steps you need to take to run all sample programs for your platform. See the individual sample programs and the README file for additional requirements.

Table 3-1: Steps required to run DB-Library applications

Platform

Steps

All Windows platforms

  • Set the DSQUERY environment variable to the server name (server_name) to which you want to connect.

  • Set the SYBASE environment variable to the path of the Sybase installation directory (if it has not already been set).

  • Set the SYBASE_OCS environment variable to the home directory of Open Client and Open Server products. For example, OCS-15_0 is the home directory of 15.0 version of the Open Client and Open Server products.

  • Use make in conjunction with the provided makefile to produce a sample executable named example name.