$SAPPHIRE/bin/sachmake.sh makefile switch_flag
makefile
switch_flag
Use the ORB option to convert a makefile back to using the Sapphire/Gateway.
There may be problems while linking your clients with your RDBMS vendor's libraries. We have used a generic configuration of libraries in our Makefile for linking to RDBMS vendor libraries, but they vary for different configurations.
Check the sachmake.sh script for different variations of link lines per vendor/platform configuration.
Sybase is generally very simple because there is one library.
Oracle and Informix use several libraries each and some libraries are used more than once on the link line. By uncommenting certain options and commenting the old options, you can try different configurations that might work for your setup.
/* main function Initial Code */
section of the Project Code Editor in your project (Choose only the database environments that apply to your application):
putenv("SYBASE=sybase_root");
putenv("ORACLE_SID=connection_string");
putenv("INFORMIXDIR=informix_root");
putenv("INFORMIXSERVER=default_server");
setenv SYBASE sybase_root
setenv ORACLE_SID connection_string
setenv INFORMIXDIR informix_root
setenv INFORMIXSERVER default_server (This is not always necessary)
SYBASE=sybase_root
ORACLE_SID=connection_string
INFORMIXDIR=informix_root
INFORMIXSERVER=default_server
export SYBASE ORACLE_SID INFORMIXDIR INFORMIXSERVER