Hi All,
Can any one help me out to view the code of macro catalog code.ie.,
%macro test;
proc print;
run;
%mend;
when submit the above code "test" will be created in work.sasmacr. Now i want to view the code of "Test".
Thanks in Advance
Hi Bruno,
Thank you very much....
Regards
Ramesh
In SAS Display Manager you can use the SAS Explorer to list the members in a SAS catalog such as work.sasmacr and if you double click on a member in work.sasmacro it will show the the source code in a window.
If you use EG only this is not possible. In fact the SAS server list doesn't even show SAS catalogs. There is an add-in you can get to display the contents of SAS catalogs but not to show the compiled macro source code.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.