For years, users have asked for the ability to write functions in DATA step syntax. The day has come when this is possible. In SAS9, the FCMP procedure provides the ability to write functions using DATA step syntax. In SAS 9.2, these functions can be called from a DATA step. This paper explains how to write functions with PROC FCMP and how these functions are invoked from a DATA step. It also contains caveats when calling PROC FCMP functions from a DATA step.
Related white papers
SOA Programming Model for Implementing Web Services, Part 1: Introduction to the IBM SOA Programming Model
The IBM programming model for Service-Oriented Architecture (SOA) enables non-programmers to create and reuse IT assets without mastering IT skills. The model includes component types, wiring, templates, application adapters, uniform...
Architecting on Demand Solutions, Part 11: Build ESB Connectivity With Rational Software Architecture (RSA) WebSphere Platform Messaging Patterns
This paper extends Part 8 of the series, where one learned to use Enterprise Patterns to quickly build Java 2 Platform, Enterprise Edition (J2EE) applications using Rational Software Architect (RSA)....
SOA Programming Model for Implementing Web Services, Part 6: The Evolving Component Model - A Systematic Approach to SOA Implementation
A language-neutral, component-based programming model for Service-Oriented Architecture (SOA) facilitates the implementation of Web services and their assembly into solutions. The programming model enables non-programmers to use existing IT assets...
Architecting on Demand Solutions, Part 12: Use DB2 Alphablox to Generate Reports for Your Business Processes - Use Historical Data to Provide Insight
This paper explains how to use IBM DB2 Alphablox to generate reports showing historical data about the Business Process Execution Language (BPEL)-based business processes running on IBM WebSphere Business Integration...
Choosing MDA Tools: Three Categories for Evaluation
Tools do much of the work in a Model Driven Architecture (MDA) process, so it makes sense to choose one's carefully. This month, learn how to categorize MDA tools and...
Exposing a CICS Program as a Web Service Using IBM Rational Application Developer: A Step-by-Step Guide to Using the J2C Tooling in RAD
IBM Rational Application Developer v6.0.0.1 provides new tooling to simplify the creation of J2EE applications that use the J2EE Connector Architecture to access applications running on legacy systems. This paper...
Creating Effective UML Diagrams Has Never Been Easier: Using Context-Sensitive Modeling Aids in IBM Rational Modeling Products
A typical UML model can consist of many different types of diagrams, with each diagram presenting a different view of the system that one is modeling. Each diagram type uses...

