I'm new in SAS programming and we have a SAS procedure with different call to macros. we need to find those macros and we don't know how to do. any sugestions?
thanks
Inspect your SASAUTOS= system option:
proc options option=sasautos;
run;
so you can search these locations for probable stored macro code files.
If you don't find them there, inspect the SASHELP.VCATALG table (objtype = "MACRO") to find macros stored in permanent catalogs.
All others have to be found in files that were included with %INCLUDE somewhere (might be in your SAS "startup" code, meaning autoexec files or codes sent automatically by Studio or EG).
If these are so called Autocall macros then you can also use....
options mautolocdisplay;
...at the beginning of your program. This will print the location of the source code for the macro into the SAS log whenever you call it.
https://go.documentation.sas.com/doc/en/vdmmlcdc/8.1/mcrolref/p04o0tz0t7g88in1mqlh27hj7wgn.htm
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.