Execute stored procedures either interactively, or include them in BTEQ scripts or input stream files.
Use the Teradata SQL CALL statement to execute a stored procedure interactively:
CALL samplesp1 (8888, pAmount);
If the procedure is created with parameters, specify the parameter arguments within the parenthesis.