In a heterogeneous environment that uses applications built for different versions of SDK
for SAP ASE, you must explicitly set a path for each version at the Command Prompt
window.
In this example, applications using the 12.5.x products are installed in the
d:\ocs-1251 directory, and applications using the 16.0 products are
installed in the d:\ocs-16_0 directory.
- To use SDK 12.5.x, open a Command Prompt window and set the SYBASE and
OCS-16_0 environment variables to the 12.5.x directory. For example:
set SYBASE=D:\ocs-1251
set OCS-16_0=OCS-12_5
- In the same Command Prompt window, set the PATH environment variable to the
12.5.x directory.
-
On Microsoft Windows x86
32-bit:
set PATH=%SYBASE%\%OCS-16_0%\bin;%SYBASE%\%OCS-16_0%\dll;
%SYBASE%\%OCS-16_0%\lib3p;%PATH%
-
On Microsoft Windows x86-64
64-bit:
set PATH=%SYBASE%\%OCS-16_0%\bin;%SYBASE%\%OCS-16_0%\dll;
%SYBASE%\%OCS-16_0%\lib3p64;%SYBASE%\%OCS-16_0%\lib3p;%PATH%
- To use SDK for SAP ASE 16.0, open another Command Prompt window and set the SYBASE and
OCS-16_0 environment variables to the 16.0 directory. For example:
set SYBASE=D:\ocs-16_0
set OCS-16_0=OCS-16_0
- In the same Command Prompt window, set the PATH environment variable. For example:
-
On Microsoft Windows x86
32-bit:
set PATH=%SYBASE%\%OCS-16_0%\bin;%SYBASE%\%OCS-16_0%\dll;
%SYBASE%\%OCS-16_0%\lib3p;%PATH%
-
On Microsoft Windows x86-64
64-bit:
set PATH=%SYBASE%\%OCS-16_0%\bin;%SYBASE%\%OCS-16_0%\dll;
%SYBASE%\%OCS-16_0%\lib3p64;%SYBASE%\%OCS-16_0%\lib3p;%PATH%
Although you must install different versions in separate directories, you can maintain a
single
sql.ini file by explicitly passing the address file name to each
application, for
example:
isql -P -Usa -Sconnect50 -ID:\ocs-16_0\ini\sql.ini