Chapter 2: Basic FCMP Syntax
Chapter 1 introduced functions, including SAS user-defined functions and subroutines—the callable, reusable software modules that are built using the FCMP procedure. As was demonstrated and described, in most cases, equivalent functionality can be achieved in the DATA step, foregoing the need to build a function—so why the added complexity of learning FCMP? Because user-defined functions can be flexibly configured and reused, which facilitates not only higher-quality software but also a higher-quality software development environment and experience.
With these objectives in mind, this chapter introduces FCMP syntax and components that facilitate building flexible, configurable, reusable functions. Simply stated, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access