以前用sas写宏后提交,但就是不能执行,log里面只显示你提交的语句,无法编译,即使提交其它语句如data步,sas也一样不能执行,log里只显示你提交的语句,程序没被执行。
以前重启一下sas就行了。
今天老搞不定。宏是不会错的。前天还可以运行。
log 的错误提示如下:
ERROR: 条目锁定不可用于 GRAPH_TURNRATE.MACRO(目录 WORK.SASMACR 中),由 DMS Process 锁定。
ERROR: 条目 GRAPH_TURNRATE.MACRO 已经在目录 WORK.SASMACR 中存在。
我里面的宏是调用了proc gplot过程。
在sas官网能找到这个错误的说明。但不能理解。哪位高手来解释一下,红色部分的原理是啥?
http://support.sas.com/kb/9/807.html
Submitting a request to the Application Dispatcher with a _program valuepointing to a .macro entry may fail if another SAS program is alsoaccessing the catalog. 
 This situation may occur if a SAS session iscompiling the macro and storing the results in the same catalog that isbeing referenced by the _program.