Accessing SapDB via unixODBC

Accessing SapDB via unixODBC

Setup the unixODBC working:
  1. Deinstall/Remove the RPM File via rpm, due the SuSE RPMs are somewhat buggy for SuSE 8.0 and less. The 8.1 distribution is not tested by mine. I suggest to use the unixODBC 2.2.3. You will have to configure (./configure --prefix=/usr --sysconfdir=/etc) worked for me in SuSE 7.x, 8.0 and Debian 3.0/woody for my tests.
    Within the SuSE Version there is the nessessary "Setup" Library already included.
  2. Now you need a /etc/odbcinst.ini File:
    This is a sample, working /etc/odbcinst.ini:
    --------------
    [SapDB]
    Description     = SapDB
    Driver          = /usr/sapdb/depend/lib/libsqlod.so
    Setup           = /usr/lib/libsapdbS.so.1.0.0
    FileUsage       = 1
    CPTimeout       =
    CPReuse         =
    
    You may create this using the "ODBCconfig" tool from the unixODBC Package.
  3. In general you need the Setup-Driver File for the SapDB. Have a look onto this screenshot:
    ScreenShot-ODBCconfig
  4. SapDB has got some difficulties with the Linux FSSTD2.
    There is recommended to have an ancient /usr/spool.
    Create this with a link to /var/spool like that:
    1. cd /usr
    2. ln -s /var/spool
  5. This is a sample /etc/odbc.ini:
    [DATBASE]
    Description     = SapDB
    Driver          = SapDB
    ServerNode      = datbase.server.org
    ServerDB        = DATABASE
    
  6. You will have to link /etc/odbc.ini into the /usr/spool/sql/ini dir.
    1. cd /usr/spool/sql/ini
    2. ln -s /etc/odbc.ini .
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值