SAS Code Hidden in Plain Sight
September 24, 2025: 1:30 PM - 2:00 PM
Intermediate and Advanced Coding Skills (IACS), Breakout Room #9

Authors Abstract
Bart Jablonski Sometimes there is a need to share a SAS macro in a way that the execution of the macro is possible, but at the same time the source code is not “readable” (e.g., the code is a proprietary solution). In this article, a programming-based solution utilizing encrypted user-written functions (FCMP) and SAS data sets, which gives requested effect, will be explained. Furthermore, the solution (in contrary to operating-system-dependent SAS catalogs) allows for code exchange between different operating systems! As a cherry on top, the GSM (Generate Secure Macros) package, which allows users to create secured macros stored in SAS Proc FCMP functions and share them between different operating systems without showing their code, will be presented.