how to execute teradata SP in 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
rakesh.nc
Participant
Posts: 39
Joined: Wed Aug 01, 2007 5:10 am
Location: Chennai

how to execute teradata SP in Datastage.

Post by rakesh.nc »

We are trying to execute teradata stored procedure in datastage.
Can anyone suggest a way to do this.
regards,
Rakesh
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Have you tried using the ODBC stage? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
rakesh.nc
Participant
Posts: 39
Joined: Wed Aug 01, 2007 5:10 am
Location: Chennai

Post by rakesh.nc »

chulett wrote:Have you tried using the ODBC stage? :?


yup... ODBC stage dont have an option to exec Teradata SP's
regards,
Rakesh
shershahkhan
Participant
Posts: 64
Joined: Fri Jan 25, 2008 4:41 am

Post by shershahkhan »

Create a bteq scrript call the procedure from that bteq and then run the bteq through command stage or Activity stage in Sequence, In TD you cannot return dataset from SP so i am expecting you don't want output from the SP. As this post is old so if you have any other solution please share with us
Sher Shah Khan (PMP)
Teradata Master V2R5
Post Reply