The script does not use external data or traditional sources. It queries an internal SAS catalog ('work.sasmacr') which contains metadata of SAS macros compiled during the current session.
1 Code Block
PROC CATALOG
Explanation : This block uses the PROC CATALOG procedure to examine the 'sasmacr' catalog in the 'WORK' library. The 'contents' statement generates a detailed report of the entries (members) contained in this catalog, and the 'title' statement defines the title that appears in the output generated by the procedure.
Copied!
*m202d01;
proc catalog cat=work.sasmacr;
contents;
title "My Temporary Macros";
quit;
1
*m202d01;
2
3
PROC CATALOG cat=work.sasmacr;
4
contents;
5
title "My Temporary Macros";
6
QUIT;
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.