FUNCTION Statement

The definition of a function begins with the FUNCTION statement and ends with an ENDSUB statement.
The following code creates a function called ReverseName.
   function ReverseName(name $) $40;

Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.