how config odbc connect greenplum on datastage?

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
mike369
Participant
Posts: 7
Joined: Fri Mar 23, 2012 12:21 am

how config odbc connect greenplum on datastage?

Post by mike369 »

who can tell me?
how config odbc connect greenplum on datastage?
please tell me details steps, thank you very much.


my os config:
ds version:7.5.2
os version:aix 5.3
greenplum version:4.1
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:idea: Next time, please just do this - one post asking your question in the proper forum rather than adding it to every post you could find that was slightly related.

ps. I've deleted all of your duplicate posts.
-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 »

The GreenPlum driver appears to be not much different than any other.... Go to your $DSHOME location and edit the .odbc.ini file and create an entry with that driver giving it the actual database name, port number, and host name (or IP address) of the server.
Choose a job you love, and you will never have to work a day in your life. - Confucius
mike369
Participant
Posts: 7
Joined: Fri Mar 23, 2012 12:21 am

Post by mike369 »

i has been accroding to your methds, and use example tools test odbc, resault is succesfull. but use DataStage Designer to define table use odbc methds, resault is faile.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Then you need to contact DataStage Support to find a solution.
Choose a job you love, and you will never have to work a day in your life. - Confucius
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

mike369 wrote:but use DataStage Designer to define table use odbc methds, resault is faile.
Did you add the entry in uvodbc.config file?
Kandy
_________________
Try and Try again…You will succeed atlast!!
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

mike369 wrote:resault is faile
If you want someone aside from Support to help, then try providing the steps you tried along with the error message you got back. "Result is fail" is not a valid error message.
Choose a job you love, and you will never have to work a day in your life. - Confucius
mike369
Participant
Posts: 7
Joined: Fri Mar 23, 2012 12:21 am

Post by mike369 »

i has been config .odbc.ini , uvodbc.config , dsenv , .profile;
but use dssh->LOGTOT->DS_CONNECT connect greenplum is successful,
but use datastage-designer tool and choose odbc stage faile to greenplum.


error message:DSR.MetaGeta(GET.TABLES)(SQLFetch): BCI Error:
SQLSTATE=24000,CODE=0,[DataStage][SQL Client]Invalid cursor state
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Is that error coming when you run a job or when you attempt to import ODBC table definitions?

Have you tried both ways and get the same error?

If you have not tried running a job, you could manually define a column from a known table without importing all metadata first, just as a test.

Perhaps there are some database grants that must be done before it will work via DataStage.
Choose a job you love, and you will never have to work a day in your life. - Confucius
mike369
Participant
Posts: 7
Joined: Fri Mar 23, 2012 12:21 am

Post by mike369 »

this error message coming when i attempt to import ODBC table definitions.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I wonder whether the Greenplum ODBC driver is compatible with the Data Direct ODBC driver manager?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply