All*_*owe 13 command-line sas dm display-manager
SAS显示管理器是SAS系统的comamnd线路接口,作为传统设施保留在Base SAS中.
然而,关于如何使用此工具的在线文档充其量是稀疏的,并且谷歌搜索不是很有成效.
常见的DM命令是:CLEAR LOG; 清晰的输出; WPGM;
我的问题是 - 那里还有其他什么DM命令?
小智 8
我想一次关闭所有视图表:
%macro closevts / /* The cmd option makes the macro available to dms */ / cmd;
%local i;
%do i=1 %to 20;
next "viewtable:"; end;
%end;
%mend;
dm "keydef F12 '%NRSTR(%closevts);'";
Run Code Online (Sandbox Code Playgroud)
我发现有用的一些例子(开放代码格式)是:
dm "vt &syslast"; * open a dataset ;
dm "keydef F2 'next VIEWTABLE:; end'"; * close ViewTable windows (credit cmjohns) ;
dm "keydef F4 'viewtable &syslast view=form'"; * open table in form view ;
dm 'keydef f11 rsubmit'; * assigns the rsubmit command to the F11 key ;
dm "keydef F12 'cle log; cle output; submit'";
dm "next explorer; detail"; * applies detail view to explorer (credit to Liz);
dm "keydef F7 ""command focus;"""; * puts command bar in focus (credit to Trevor);
Run Code Online (Sandbox Code Playgroud)
不幸的是,SAS 似乎并没有在网上的一个地方列出它的命令。但是,所有命令都记录在 SAS 中。
1.进入help命令行
2. 搜索确切的短语“SAS 命令概述”
3. 选择链接“SAS Commands by Category”
这会显示以下列表:
其他人提到的所有命令都出现在此列表中。与您的问题特别相关的类别是“窗口管理”。
4.向下滚动到“窗口管理”类别
| 归档时间: |
|
| 查看次数: |
11596 次 |
| 最近记录: |