How can we execute the Teradata BTEQ script?

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
virupakshagm
Participant
Posts: 18
Joined: Tue Dec 18, 2007 5:25 am
Location: Bangalore

How can we execute the Teradata BTEQ script?

Post by virupakshagm »

Hi,

We have a Teradata BTEQ script, working fine in windows Environment,
I want execute the same through Datastage. Please any body suggest me...

Can we execute this script from Before and after Sql in Teradata stages.....

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

Post by ray.wurlod »

Have you tried?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
virupakshagm
Participant
Posts: 18
Joined: Tue Dec 18, 2007 5:25 am
Location: Bangalore

Post by virupakshagm »

Yes Ray, I tried in different ways like, i wrote the BTEQ script in
Custom SQL
Before SQL
After SQL
Using API and MULTILOAD stages

Also i tried Before and After Job subroutine with ExceDOS in the job properties.
But nothing is worked out

Thanks
Viru
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

write a shell script and in that call the BTEQ. or use a command stage to call the BTEQ
Teradata Certified Master V2R5
Post Reply