README for the HP Neoview ODBC Drivers for UNIX (R2.5)

Compile CommandClient OS
IBM AIX®
g++ -maix32 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc -o connect_test
or, if the xlc/xlc++ compiled HP ODBC library is installed:
xlc++ -q32 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc -o connect_test
g++ -maix64 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc64 -o connect_test
or, if the xlc/xlc++ compiled HP ODBC library is installed:
xlc++ -q64 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc64 -o connect_test
IBM AIX® 64
bit
cc connect_test.cpp -I/usr/include/hpodbc -L/usr/lib \
-lhpodbc -o connect_test
Sun SPARC®
cc -xarch=v9a connect_test.cpp -I/usr/include/hpodbc -L/usr/lib \
-lhpodbc64 -o connect_test
Sun SPARC®
64 bit
3. If needed, modify the /etc/hpodbc/MXODSN file.
4. Run the sample program:
./connect_test -d <datasource> -u <userid> -p <password>
Related Product Documentation
For more information about the ODBC Drivers for UNIX, refer to the HP Neoview ODBC Drivers
Manual at http://www.hp.com/go/neoviewdocs.
16