RETURN Statement

The RETURN statement specifies the value that is returned by the function.
      return(catx('',scan(name,2,','),scan(name,1,',')));

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.