Try OpenEdge Now
skip to main content
SQL Development
ODBC Client : Configuring data sources : Testing your ODBC connection on UNIX
 

Testing your ODBC connection on UNIX

This section contains a sample C program that can be used to test your ODBC connection. The sample program can be built at the UNIX OS prompt provided that:
*The OpenEdge SQL client is installed
*A C compiler is available on the system
*The source code is saved as test_connect.c
*The resulting executable is called testConnect
To build the executable, the following command will invoke the C compiler to compile and link the executable:
* Solaris and AIX
* HPUX
* Linux