In a heterogeneous environment that uses applications built for different versions of Open Server, you must explicitly set a path for each version at the command prompt.
In the following example, applications using the 12.5.x products are installed in the d:\ocs-1251 directory and applications using the 15.0 products are installed in the d:\ocs-150 directory:
Open a command prompt and set the SYBASE and PATH environment variables for the 12.5.x directory, for example:
set SYBASE=D:\ocs-1251 set SYBASE_OCS=OCS-12_5 set PATH=%PATH%;%SYBASE%\%SYBASE_OCS%\BIN;
%SYBASE%\%SYBASE_OCS%\DLL
Open another command prompt and set the SYBASE and PATH environment variables for the 15.0 directory, for example:
set SYBASE=D:\ocs-150 set SYBASE_OCS=OCS-15_0 set PATH=%PATH%;%SYBASE%\%SYBASE_OCS%\BIN; %SYBASE%\%SYBASE_OCS%\DLL
Although you must install different versions in separate directories, you can maintain a single sql.ini file by passing the address file name explicitly to each application, for example:
isql -P -Usa -Sconnect50 -Id:\sql1003\ini\sql.ini