Header Data: Symptom
Header Data: Symptom
Header Data: Symptom
Header Data
Released On 31.08.2015 11:04:04
Release Status Released for Customer
Component BC-DB-SYB SAP Business Suite on Sybase ASE Database Platform
Priority Correction with medium priority
Category Special development
Symptom
Remote/secondary connect to SAP IQ
Other Terms
SAP Sybase IQ, SAP IQ
Solution
The correction includes the required preparations and corrections for lib_dbsl to enable SAP IQ for
remote connects from SAP NetWeaver Unicode. For more information, refer to SAP note 1796393.
Prerequisites:
2. The SQL Anywhere ODBC driver is installed and accessible from the SAP NetWeaver Application
Server.
a. Minimum required version is 12.00.3027 - shipped as SQL Anywhere ODBC 15.4 ESD3.
b. Minimum required version for IQ Server 16.0 is 16.00.0481 - shipped as SQL Anywhere ODBC
16.0. This driver is also available for AIX, for IBM i and for Solaris.
c. The SQL Anywhere ODBC driver 16.0 is available for 64 -bit Linux AMD (linuxx86_64), AIX 64
bit, OS/400, Solaris on SPARC 64bit and Windows for 64 bit (ntamd64) at:
https://support.sap.com/swdc
-> Support Packages and Patches
-> Browse our Download Catalog
-> Sybase Products
-> SYBASE IQ ODBC NLS
-> SYBASE IQ ODBC NLS 16.0
-> Linux on x86_64 64bit or AIX 64bit or Windows on x64 64bit or OS/400 or Solaris on SPARC
64bit IQCLIENT160SP01
N o t e : SYBASE IQ ODBC NLS 15.4 is deprecated. Use SQL Anywhere ODBC driver 16.0 instead.
d. Use SAPCAR -xvf IQCLIENT154.SAR (or IQCLIENT160SP01.SAR) to extract the libraries directly
into the instance exe directory (e.g. /usr/sap/SID/DVEBMGS00/exe ).
This way - once the lib_dbsl and the DBCO entries are available (see steps below) - no
restart of the application server is required. Also no adaption of the library path is
required.
Alternatively, extract the archive to an empty directory of your choice which will then
contain only the client (for example, /usr/sap/SID/DVEBMGS00/exe/iqodbc).
The library path of the application server must then be adapted to include the ODBC driver.
This requires a restart of the application server after the installation of the driver:
n IBM i:
If it does not exist yet, add profile parameter as4/ADDLIBPATH to your default profile.
(It will only be recognized by IBM i application servers). Set it to the IQ client
directory <iqclient_dir>. If it exists already, add the IQ client directory separated by
colon (as4/ADDLIBPATH = <existing_libpath>:<iqclient_dir>)
(We recommend this procedure, because APYSIDKRN MODE(*FULLY) will remove the client
software from the kernel directory.)
n All other:
Add the directory to the LD_LIBRARY_PATH environment variable of <SAPSID>adm user
(Windows: PATH variable, AIX LIBPATH variable) and restart the application server
(Windows: the SAP service (SAPService<SAPSID>) must be restarted also).
e. For more details on how to install the ODBC driver, refer to the SAP SQL Anywhere
documentation (http://help.sap.com/sql-anywhere).
f. In case the SAP IQ ODBC NLS driver is missing in the SAP Support Portal, see KBA 2205476.
3. The SAP NetWeaver kernel release must be 720, 721, 738, or 7.4x.
720: patch level 321 and higher for disp+work and 440 for lib_dbsl
721: patch level 30 and higher for disp+work and 130 for lib_dbsl
738: patch level 0 and higher for disp+work and 16 for lib_dbsl
For SAP IQ SP8 16.0 the following patch levels are required for lib_dbsl. For more information,
refer to SAP note 2016130.
720: patch level 616
721: patch level 311
740: patch level 72
741: patch level 35
4. The lib_dbsl for SAP ASE (dbsybslib.so/dll) must be copied to the standard exe directory AND the
instance exe directory. If the SAP NetWeaver system is running with SAP ASE, this step is not
required. lib_dbsl (dbsybslib.so/dll) is available on the SAP Service Marketplace, for example
for 7.22 EXT 64-BIT UC:
Support Packages and Patches -> Browse Download Catalog -> Additional Components -> SAP Kernel -
> SAP KERNEL 64-BIT UNICODE -> SAP KERNEL 7.22 EXT 64-BIT UC -> SAP ASE.
DBMS: SYB
Before execution of the load command the table will be locked for write access. With
SYBASE_IQ_LOCKWAIT it is possible to overwrite the lock wait time. Default is 300 seconds.
Example: SYBASE_IQ_LOCKWAIT=600 will set a lock wait time of 600 seconds.
d. SYBASE_IQ_BUFFER_SIZE:
The buffer size for array operation to IQ can be modified using SYBASE_IQ_BUFFER_SIZE - to
be set in bytes. Default is 40 kB.
Note that the ODBC driver has a fixed limit of 32 kB rows per buffer.
e. SYBASE_IQ_LOAD_DIR:
By default the data directory of the instance is used to temporarily store the load files.
In special cases the directory can be changed by using the SYBASE_IQ_LOAD_DIR parameter.
<sapsid>adm must have write permission on this directory. I/O performance should be high.
Validity
Software Component From Rel. To Rel. And Subsequent
KRNL64UC 7.20 7.20
7.20EXT 7.20EXT
7.21 7.21
7.21EXT 7.21EXT
7.38 7.38
SAPHOSTAGENT 7.20 7.20
7.20EXT 7.20EXT
References
This document refers to:
SAP Notes
1858550 Downport NLS IQ to BW 7.0X
1796393 SAP BW near-line solution with Sybase IQ
Attachments
File Name File Size (KB) Mime Type
stopdb.zip 10 application/x-zip-compressed