Connect to HANA database through data stage?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
mah_2015
Participant
Posts: 1
Joined: Thu Jan 15, 2015 4:54 am

Connect to HANA database through data stage?

Post by mah_2015 »

Hi ,
I am trying to connect to HANA database through data stage. I have installed hana client in my AIX sever . I have added the following in .odbc.in file .

[HANA]
Driver=/usr/sap/hdbclient/libodbcHDB.so
DriverUnicodeType=1
Description=Hana Conntion Test
HostName=19.51.189.12
LogonID=USERNAME
Password=PASS
PortNumber=30015
LoginTimeout=-1
QueryTimeout=-1
ConnectionRetryCount=3

Update the uvodbc.config
<HANA>
DBMSTYPE = ODBC

Connectivity TEST
./bin/dss
DataStage Command Language 9.1 Licensed Materials - Property of IBM
(c) Copyright IBM Corp. 1997, 2012 All Rights Reserved.
DSEngine logged on: Thursday, January 15, 2015 10:27

>LOGTO dstage1
>DS_CONNECT HANA
Enter username for connecting to 'HANA' DBMS [dsadm]: USERNAME
Enter password for USERNAME:PASS
SQLConnect error: Status = -1 SQLState = 08S01 Natcode = -10709
[ODBC] [SAP AG][LIBODBCHDB SO][HDBODBC] Communication link failure;-10709 Connection failed (RTE:[89006] System call 'connect' failed, rc=79:Connection refused)

Can you guys help . What is the issue i am having ?
Thank in advance
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Split out from this topic.
-craig

"You can never have too many knives" -- Logan Nine Fingers
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

You mentioned you had installed a Hana client on your AIX server. Have you tried connecting from the AIX command line, via that client, with the same ID and password, with success? The ODBC error you got looks pretty generic, so it could be caused by any number of things.
Choose a job you love, and you will never have to work a day in your life. - Confucius
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

You may also need to make sure that the HANA libraries directory(ies) are in your libpath environment variable (or SHLIB_PATH?... depends on your OS)
Post Reply