Quantcast
Channel: SCN : Popular Discussions - SAP MaxDB
Viewing all articles
Browse latest Browse all 1545

unixODBC connection ok but no Data !

$
0
0

Hi out there,

 

I Installed unixODBC and the maxDB Driver on a Client machine and try to get Data from my server.

 

I followed this Howto: http://wiki.scn.sap.com/wiki/display/MaxDB/HowTo+-+MaxDB+ODBC+and+unixODBC

 

I get a connection and It looks like I get the Information about Tables and Colums and even the count of rows but no Data Content.

 

Example using isql:

 

SQL> select * from ZF_TYP

+-------+-----------------------------------------------------------------+---------------------------+------------+------+

| ZFTMTD| NAME                                                            | WANN                      | WER        | STATE|

+-------+-----------------------------------------------------------------+---------------------------+------------+------+

|       |                                                                 |                           |            |      |

|       |                                                                 |                           |            |      |

+-------+-----------------------------------------------------------------+---------------------------+------------+------+

SQLRowCount returns 2

2 rows fetched

SQL> select now() from dual

+---------------------------+

| EXPRESSION1               |

+---------------------------+

|                           |

+---------------------------+

SQLRowCount returns 1

1 rows fetched

SQL> select TIMESTAMP FROM DUAL

+---------------------------+

| EXPRESSION1               |

+---------------------------+

|                           |

+---------------------------+

SQLRowCount returns 1

1 rows fetched

 

my .odbc.ini content:

 

cat ~/.odbc.ini
[db01dcw]
ServerDB=MAXDB
ServerNode=db01.team.etb
SQLMode=ORACLE
IsolationLevel=Committed
TraceFileName=/home/jph/odbctrace.log
Driver=/opt/sdb/JPH/lib/libsdbodbc.so

 

anyone any Idea ??

 

regards

jph

 

P.S.

 

Client:

 

openSUSE 12.3 "Dartmouth" ( x86_64 GNU/Linux )

/opt/sdb/globalprograms/bin/sdbregview -l
Installation: Global    /opt/sdb/globalprograms
Global Listener               7.9.08.21    valid    64 bit
Installation Compatibility    7.9.08.21    valid    64 bit
Installer                     7.9.08.21    valid

Installation: JPH    /opt/sdb/JPH
Base         7.9.08.21      valid    64 bit
JDBC         7.6.09.00      valid
Messages     MSG 0.10302    valid
ODBC         7.9.08.21      valid    64 bit
SQLDBC       7.9.08.21      valid    64 bit
SQLDBC 77    7.9.08.21      valid    64 bit

Server :

MaxDB 7.8.02.28

Viewing all articles
Browse latest Browse all 1545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>