BTEQ - Executing stored procedure in Teradata

You can call a stored procedure directly in a BTEQ script by rendering CALL command.

Syntax:
CALL stored procedure ([Parameters]);


Example:
Calling stored procedure sp_emp by passing name and employee number.
.LOGON localtd/tduser, tdpass;
CALL sp_emp('Rufus', 12345);
.LOGOFF
.EXIT