UDB configuration

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
vbeeram
Participant
Posts: 63
Joined: Fri Apr 09, 2004 9:40 pm
Contact:

UDB configuration

Post by vbeeram »

Hi,

I installed Datastage7.1r1(Server Edition) on Solaris,successfully installed.

But i have UDB DB2 source on AIX machine.
I am not able to connect UDB(on AIX) from Datastage(Solaris).

I am using following .odbc.ini and uvodbc.config files.
bolded fields iam filling as per my available details.
Anything wrong in using these files?

odbc.ini.
-------------------
[DB2 Wire Protocol]
Driver=/opt/Ascential/DataStage/branded_odbc/lib/VMdb219.so
Description=DataDirect 4.20 DB2 Wire Protocol Driver
AddStringToCreateTable=
AlternateID=
#Collection=OS/390 and AS/400 (Remove for DB2 UDB)#//commented
Database=SRCDB (Remove for OS/390 and AS/400)
DynamicSections=100
GrantAuthid=PUBLIC
GrantExecute=1
IpAddress=hmunx121
IsolationLevel=CURSOR_STABILITY
Location=OS/390 and AS/400 (Remove for DB2 UDB)
LogonID=xyz
Password=pqrs
Package=DB2 package name
PackageOwner=
TcpPort=20021
WithHold=1

uvodbc.config
------------------------
[ODBC DATA SOURCES]

<localuv>
DBMSTYPE=UNIVERSE
network=TCP/IP
service=uvserver
host=127.0.0.1

<SRCDB>
DBMSTYPE=ODBC

-------------------------------



Thanks in advance,

VBeeram
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The only obvious this is that hmunx121 is not an IP address, and you don't have an explicit entry for [SRCDB] (or whatever else you want to call your DSN).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Re: UDB configuration

Post by roy »

vbeeram wrote: odbc.ini.
-------------------
[DB2 Wire Protocol]
Driver=/opt/Ascential/DataStage/branded_odbc/lib/VMdb219.so
Description=DataDirect 4.20 DB2 Wire Protocol Driver
AddStringToCreateTable=
AlternateID=
#Collection=OS/390 and AS/400 (Remove for DB2 UDB)#//commented
Database=SRCDB (Remove for OS/390 and AS/400)
DynamicSections=100
GrantAuthid=PUBLIC
GrantExecute=1
IpAddress=hmunx121
IsolationLevel=CURSOR_STABILITY
Location=OS/390 and AS/400 (Remove for DB2 UDB)
LogonID=xyz
Password=pqrs
Package=DB2 package name
PackageOwner=
TcpPort=20021
WithHold=1

uvodbc.config
------------------------
[ODBC DATA SOURCES]

<localuv>
DBMSTYPE=UNIVERSE
network=TCP/IP
service=uvserver
host=127.0.0.1

<SRCDB>
DBMSTYPE=ODBC

-------------------------------
Besides what Ray said:

The DSN name you need to specify in your uvodbc.config file is the same name mentioned in the brackets in your .odbc.ini, in the case mentioned it should be: DB2 Wire Protocol
I would rename it to something more meaningfull like MySrcDsn.

Next you failed to drop the entries for AS400 and 390 DB2
and in the entries for UDB remove the (Remove for OS/390 and AS/400) part.


P.S.
Is there any reason why you don't use the UDB plugin stage?

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Mat01
Premium Member
Premium Member
Posts: 50
Joined: Wed Jun 02, 2004 11:12 am
Location: Montreal, Canada

Post by Mat01 »

Hi Vbeeram,

You should have a file named .dshome at the root of your machine. This file contains one line only which is the path to your DSEngine directory.

ie:
as0006s@sodium01(/) $ cat .dshome
/usr/local/datastage/Ascential/DataStage/DSEngine

HTH

Mat
Post Reply