Building the Sample ODBC Program for Unix

Building the sample ODBC program allows you to run the program and see how it performs ODBC tasks, such as connecting to a database and executing statements.

Prerequisites

There are no prerequisites for this task.

Task

A shell script located in the $SYBASE/IQ-16_0/samples/sqlanywhere/c directory can be used to compile and link all the sample applications.

  1. Open a command shell and change the directory to the $SYBASE/IQ-16_0/samples/sqlanywhere/c directory.
  2. Run the build.sh shell script.

The sample ODBC program is built.