In addition to the Return Expression of a function, both functions and procedures can pass updated values of the parameters they received back to the calling routine, by using XPUTARG.
See Also
• References to the :INPUTONLY and :OUTPUTONLY clauses on the User-defined Functions page.
• The discussion on Parameter Type AS.