Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Teradata to Unix

Status
Not open for further replies.

hhangha

Programmer
Joined
Mar 16, 2004
Messages
1
Location
US
in BTEQ, I am trying to pass a value from from a stored procedure to a unix. How do I go about doing that ? Say the stored proc returns a value of '10'. How do i pass that value to the unix script

Thanks in advance for your help
 
You can export the result to a flat file:

.export report file = xxx.txt
call my_proc(1, 2, out_var (title ''));
.export reset


Dieter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top