SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 44233: Calculating leap year using PROC FCMP and user-defined function

DetailsCodeOutputAboutRate It

Overview

This sample demonstrates logic to determine whether a specified year is a leap year or not.

PROC FCMP is used to create a user-defined function using the logic from the DATA step code.

Additional Documentation

Usage Note 41809: Using user-defined functions in the DATA Step created with PROC FCMP

SAS 9.3 PROC FCMP Documentation




These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.