There are two possible ways to execute a SAS macro from a persistent library. Either you use an autorun macro or a saved compiled macro.
The autocall macro will mean that you have access to the source because it is just a .sas file with a macro name as the file name. You can% include the file and see the full text, assuming that you know in which directory it is located (you may have many autocomplete libraries). Therefore, if your directory SASAUTOS c:\sas\macros\and you are calling %mymacro(), you can execute
%include "c:\sas\macros\mymacro.sas";
which will include precompiled text, and as long as you enable the option source2, it will be printed in your journal.
, SOURCE. , ( , SCM).
SOURCE, %COPY SCM :
%copy mymacro / SOURCE;
SAS .