A popular DATA step programming technique frequently used by SAS users is the ability to identify the beginning and ending observation in by-groups. The way it works is whenever a BY statement is specified with a SET statement, two temporary variables are created in the Program Data Vector (PDV), FIRST.variable
Author
SAS author's tip: Identifying FIRST.row and LAST.row in by-groups
Highlights of the SAS Global Forum 2014 conference
After just returning home from the greatest SAS conference on earth, I wanted to share a few highlights from the 2014 SAS Global Forum (SASGF) conference, where more than 4,500 attendees from every corner of the globe took part in a multi-day SAS-fest. For four days, from sun-up to well
Creating custom SAS functions with the FCMP Procedure
The SAS System provides users with the ability to create, store and access custom functions using the Function Compiler (FCMP) procedure. Once defined with PROC FCMP, a user-defined function can be used, or called, just like any other SAS function in the SAS System. This powerful capability gives users the