/***************************************************************************************************************** SAS file name: Compiled_Macros.sas File location: _________________________________________________________________________________________________________________ Purpose: To demonstrate how to set up a library of compiled macros in SAS Author: Peter Clemmensen Creation Date: 01/12/2017 This program supports the post "Set up a Library of Compiled SAS Macros" on SASnrd.com *****************************************************************************************************************/ %let path = /*** Insert Your Path Here ***/ libname mymacs "&path."; options mstored sasmstore=mymacs; /* Use STORE Statement in the macro definition */ %macro printdata(dsName) / store; proc print data=&dsName.; run; %mend;