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:May 13

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

X commands can be used to make directories, move files, or even launch applications like MS Word or WinZip. The system options NOXWAIT and NOXSYNC are used to close the DOS window after the command executes, and to keep the SAS session active, respectively:

options noxwait noxsync;
***create a file folder;
x "%str(md %"D:\Staff\Mary Otterness\&sysdate9.%" )";

***activate WinZip and zip all of the sas datasets in a folder;
x " ""D:\Program Files\WinZip\WINZIP32.EXE"" -a
	""D:\My files\my zipped data &"" 
	""D:\My files\*.sas7bdat"" ";

***launch MS Word;
X '"D:\Program Files\Microsoft Office\OFFICE11\WINWORD.exe"';

Note that the commands above should be modified to reflect the locations of applications on your own computer.

Submitted By Otterm1

Feel free to comment on this tip.

Prior tip - Next tip - Random Tip

Submit a Tip