How can I call and use the output of a stored procedure inside a stored procedure in teradata?

Database
yam
Teradata Employee

How can I call and use the output of a stored procedure inside a stored procedure in teradata?

sample query:

CREATE PROCEDURE sp2(OUT z INT)

BEGIN

BEGIN 

CALL sp1(110,y);

END;

 

SELECT employeeid INTO z FROM employees

WHERE firstname=y;

END ;