SPL routine and function calls

You can call a Stored Procedure Language (SPL) procedure by using the EXECUTE PROCEDURE statement. For example:
#sql { EXECUTE PROCEDURE proc_name(:arg_name) };
You can call a stored function by using the EXECUTE FUNCTION statement. For example:
#sql {EXECUTE FUNCTION func_name (func_arg ) into :num };