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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Procedure return error code to BTEQ.

Status
Not open for further replies.

CapsuleCorpJX

IS-IT--Management
Jun 23, 2004
70
US
A kornshell script uses BTEQ to call a SQL Stored Procedure on teradata.

My question is how can I get my SQL procedure to return an error code to BTEQ?

I want the SQL procedure to be able to signal BTEQ, and have BTEQ signal the ksh script to exit with an abnormal status so it will halt subsequent jobs in the schedule.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top