Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SAS Display Manager commands

The SAS display manager is a comamnd line interface to the SAS system, which remains in Base SAS as a legacy facility.

However the online documentation on how to use this facility is sparse at best, and google searches are less than fruitful.

A common DM command would be: CLEAR LOG; CLEAR OUTPUT; WPGM;

My question is - What other DM commands are out there?

like image 326
Allan Bowe Avatar asked Aug 05 '09 12:08

Allan Bowe


3 Answers

Here are some links that have a large number of commands:

FSP Commands
Commands specific to Windows
AF Windowing Commands
Commands for the Program Editor (Scroll down to second paragraph)

like image 148
piouson Avatar answered Oct 13 '22 18:10

piouson


I like to close all view tables at once:

%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);'";
like image 40
Chris Avatar answered Oct 13 '22 16:10

Chris


Unfortunately, it doesn't seem like SAS has its commands listed in a single place online. All commands are documented within SAS, however.

1. Enter help into the command line

enter image description here

2. Search for the exact phrase "Overview of SAS Commands"

enter image description here

3. Select the link "SAS Commands by Category"

This brings up the following list:

enter image description here

All of the commands mentioned by other people are present in this list. The category which pertains to your question specifically is "Windowing Management."

4. Scroll down to the "Windowing Management" category

enter image description here

like image 5
Lorem Ipsum Avatar answered Oct 13 '22 17:10

Lorem Ipsum