Dave's Serviceable SAS Scintillas

%CHECK_FOR_WARNINGS: Gracefully terminate a SAS program if any WARNING messages have been issued up to that point in the program

%CHECKDUPS: Check a SAS dataset for duplicates

%PRINT_ONE_VAR_PER_LINE: Print one variable on each line

%PROC_SORT: Sort and Sum at the same time

%SASTERM: Gracefully terminate a SAS program

%ZEROOBS: Gracefully terminate a SAS program when a particular dataset is created with zero observations

Controlling the Execution of SAS Code Without Using Multiple Macros or External %INCLUDES

Creating Two SAS Subroutines to Swap Two Numeric (SWAP_N) and Two Character (SWAP_C) Variables

ZIPCOUNTYNM: Function to Convert 5-Digit Zip Code to County Name