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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.