FCMP Procedure

OUTARGS Statement

Specifies arguments in an argument list that you want a subroutine to update.
Restriction: Many SAS analytical procedures perform analytical differentiation on FCMP functions. If you plan to use the function in this way, do not use the OUTARGS statement. In most cases, use the OUTARGS statement only with the SUBROUTINE statement.
Creating a CALL Routine and a Function

Standardizing Each Row of a Data Set

Using the SUBROUTINE Statement with a CALL Statement

Syntax

Required Argument

out-argument
specifies arguments from the argument list that you want the subroutine to update.
Tip:If an array is listed in the OUTARGS statement within a routine, then the array is passed “by reference.” Otherwise, it is passed “by value.”
Example:See SUBROUTINE Statement for an example of how to use the OUTARGS statement in a subroutine.