我有一个变量UserName,它包含可变长度的ID。一个简短的例子:如何根据变量X对所有行进行排序,其中首先列出了较长的字符串。/*Note: Some users have found that the SAS program will drop observations from the analysis if the, the observations with the longest ID length should be listed fi
我在SAS中有一个连接到一个sql服务器表,其中表名是‘a_ to _Aggregate$’。引号是名字的一部分。因此,在我的SAS编辑器中,当我试图在代码的一部分中运行下面的代码时,会返回错误,因为SAS将它作为字符串而不是表名读取。Additions_to_Aggregate$'n.data as agg quit;
是否有任何方法强制SAS我已经尝试过在SAS资源管理器中重命名表,但是我得到了这个错误
我遇到了一个非常好的宏,我想用它作为热键: %local i; next "viewtable:"; enddm "keydef F12 '%NRSTR(%closevts);"; /*Sets F12 to close all view tables at once*/问题是,每次启动SAS时,我都必须重新运行宏声明!如何永久设置宏</e