Can DataStage call Oracle APIs?

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
y2ariyas
Premium Member
Premium Member
Posts: 19
Joined: Sun Feb 05, 2006 3:24 pm
Contact:

Can DataStage call Oracle APIs?

Post by y2ariyas »

Can DataStage call Oracle APIs?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Define exactly what you mean by 'Oracle APIs' in this context.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Like for example, what specific API are you looking to execute. If it can be executed from command line, i believe it can be executed within DataStage. Need more info for a specific answer.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
y2ariyas
Premium Member
Premium Member
Posts: 19
Joined: Sun Feb 05, 2006 3:24 pm
Contact:

Post by y2ariyas »

DataStage is going to be used for
1. Batch interfaces from legacy to Oracle Advanced Pricing
2. One-time conversions of legacy data to Oracle Advanced Pricing. We will not be using Oracle Warehouse Builder

it seems like we cannot load data into Advanced Pricing except though APIs

so can we connect to Oracle API from DataStage, is stage we can use in DataStage?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If these APIs are exposed as Oracle functions or stored procedures, then the answer is yes out of the box.

If it's a C-callable API, then the answer is yes but only via customization - either a parallel routine invoked from a Transformer stage or a user-written stage type.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
raki
Participant
Posts: 17
Joined: Mon Dec 25, 2006 3:04 pm
Location: New Jersey

Post by raki »

We have functions which calls Oracle APIs. Now how can we use those functions in DataStage. Can we use stored procedure stage?. How can we pull data using stored procedure?
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Using Stored procedure Stage.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

raki wrote:We have functions which calls Oracle APIs. Now how can we use those functions in DataStage. Can we use stored procedure stage?. How can we pull data using stored procedure?
Are you and the OP the same? How are you related to this post?
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
Post Reply