As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Tip of the Day:June 2

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

As part of the decommissioning effort for this article/tip has been migrated to

The new home for this article/tip is June 2 (

SAS DM (display manager) commands can be used to call windowing and text editor commands within a SAS program. In this example, the log is saved to a permanent file, and then it is cleared:

***put something in the log;
proc print data=sashelp.flags (obs=1);

***save the log to a permanent file, overwriting if necessary;
dm 'log; file "C:\My files\log 1 &sysdate9..log" replace';

***Clear the log window;
DM "log; clear; ";

Submitted By Otterm1

Feel free to comment on this tip.

Prior tip - Next tip - Random Tip

Submit a Tip