Running Different Versions of SAP Open Server on Microsoft Windows
In a heterogeneous environment that uses applications built for different versions of SAP
Open Server, you must explicitly set a path for each version at the command prompt.
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 Open Server 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. 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%
To use SAP Open Server 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 passing the address file name explicitly to each
application, for
example: