calling of store procedures

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
visgtm
Participant
Posts: 6
Joined: Wed Jan 02, 2008 2:36 am
Location: Pune India
Contact:

calling of store procedures

Post by visgtm »

Hi,
I wanted to call store procedur by using parallel job in datastage.
Please help me out with this issue
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Did you happen to Search for an answer before posting? I'm sure this has been answered in the past.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
tkbharani
Premium Member
Premium Member
Posts: 71
Joined: Wed Dec 27, 2006 8:12 am
Location: Sydney

Stored Procedure (STP) Stage

Post by tkbharani »

To run a pl/sql procedure from Datastage a Stored Procedure (STP) stage can be used.
However it needs a flow of at least one record to run.
1. Put any source stage,.eg ODBC stage.

2. A transformer which passes that record through.

3.Put Stored Procedure stage as a destination. Fill in connection parameters and select Transform as procedure type. In the input tab select 'execute procedure for each row' [it will be run once]
Thanks, BK
visgtm
Participant
Posts: 6
Joined: Wed Jan 02, 2008 2:36 am
Location: Pune India
Contact:

Post by visgtm »

Hi,

Can anyone give the designing of how to invoke stored procedure using datastage parallel jobs
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The immediately prior post to yours does precisely that, as far as I can discern.
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