Can I catch an OUT variable(s) from a stored procedure?

Database
Enthusiast

Can I catch an OUT variable(s) from a stored procedure?

Hi stored procedure experts,

know someone if I can catch an OUT variable(s) from a stored procedure
after calling it from a bteq on Unix Teradata V2R.05.01
or exist somthing like
.IF ERRORCODE <> 0 THEN .QUIT ERROCODE
or
.IF ACTIVITYCOUNT = 0 THEN ....?
I want to analyse in the BTEQ, if the Job of the stored procedure was OK done or no.
Thanks in advance

Regards
stami27