As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Adding Statistical Functionality to the DATA Step with PROC FCMP

From sasCommunity
Jump to: navigation, search

TinyUrl for this page: http://tinyurl.com/26uhbw9

Stacey Christian, Senior Software Engineer

SAS Institute Inc., Cary, NC

Abstract

How many times have you had to write a cumbersome workaround to do an analytical task inside a DATA step that would be easy if you could just call SAS® from the DATA step? With the advent of PROC FCMP in SAS 9.2, you can do exactly that. This paper demonstrates how to add statistical functionality to the DATA step through the definition of FCMP functions. We will provide specific examples of how to encapsulate SAS® Analytics within FCMP functions and thus make them callable from the DATA step.

Online Materials

View the pdf for Paper 326-2010.

View the pdf for sample code File:326-2010 samples.pdf.

Contact Info

And don't forget to add a link to Stacey Christian user page.