【发布时间】:2023-03-19 23:41:02
【问题描述】:
我想保存作为练习的一部分永久定义的所有宏并列出所有宏。我有 6 个宏要在此会话中保存和检索:
%macro one(a,b,c)
%macro gchart(dseti,Weight,Gender)
%macro plot(dsetin,height,weight)
%macro one(a,b,c,strtpt,endpt)
%macro test
%macro name(dsetin,year,revenue)
%macro import_myfile(i=)
我有下面的代码和错误信息。
options mstored sasmstore=macross;
libname mjstore "C:\Users\komal\Desktop\Advanced SAS";
proc catalog cat=mjstore.macross;
contents;
title "Default Storage of SAS Macros";
quit
Error: Catalog "MJSTORE.MACROSS" not found
请告诉我您对如何解决问题的建议。感谢您的宝贵时间。
【问题讨论】:
-
你能澄清一下这个问题吗?你想知道在程序中定义了哪些宏吗?还是在程序中实际执行?
-
是的,上面的宏实际上是在程序中定义和执行的。