Importing Oracle stored procedure definition in Datastage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Sravani
Participant
Posts: 23
Joined: Thu Jun 15, 2006 3:56 am
Location: Hyderabad

Importing Oracle stored procedure definition in Datastage

Post by Sravani »

Hi Gurus,

I have created a small Oracle stored procedure which returns an integer. Now, I would like to use the stored procedure into datastage job. For that I am trying to import the Stored Procedure definition after doing the following steps.
1) Updated uvodbc.config file on UNIX server with the following details
<TEST>
DBMSTYPE = ORACLE
network = TCP/IP
service = ServiceName
host = xxx.xx.xx.xx
2) Using import option in Datastage designer I have browsed for the above added DSN. But when clicks on OK I am getting the following error.

DSR.MetaGeta(GET.PROCS): This function is not supported for DBMSTYPE 'TEST'.

Can any body help me in resolving this?

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

Post by ray.wurlod »

DBMSTYPE must only be one of ODBC or UNIVERSE in the uvodbc.config file.

Having changed it to ODBC, you must then set up an ODBC data source name (DSN) that points to the correct Oracle TNS name. DSNs are configured in the $ODBCINI file. It is also necessary that the TNS name be correctly configured in tnsnames.ora on the DataStage server machine.
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