Include macros in SAS

This macro will include the external macros in a library on the disk. This will be done, so you are sure that SAS will choose the external macros not the same macros in libraries included in SASAUTOS. The macros first choosen by SAS will be the macros found in Work.Sasmacr library. Including the external macros will put these macros in this library. This solution is found here: http://support.sas.com/kb/38/129.html Example : %IncludeExternalMacros(dir=&RootPath/Macros/External/);

It’s also possible to use this simple piece of SAS-code found below.