SAS Window Commands
Each SAS window has a command line. You can control your SAS session
by entering special keywords on this line. Commonly used commands
include:
SAS COMMAND Line Keywords
**Submit execute program
Clear clears (erases) window
**Recall retrieve window contents
bye end your SAS session
**include 'filename' retrieves file called filename into the window
file 'filename' saves window contents into a file called filename.
reshow redraws the screen
top goes to the top line
bot goes to the bottom line
down scrolls down one page
down n scrolls down n lines
up scrolls up one page
up n scrolls up one page
Function Keys and Pulldown Menus
Some keys have been defined as 'short-cuts' to SAS commands. Just
pressing the key combination will execute the command just as if you
had typed the command on the command line. You also have the option of using
"pulldown menus". These are used just like all of the other menus in the
windows system. Position the mouse so that the on-screen cursor is on the name of the menu you want to read and then press and hold the left button. Scroll down the menu until you reach the desired option and then release the mouse button.
SAS Function Function Keys Pulldown Menu Commands
Switch between a
command line and Control-A Globals-> Command-> Command line
pulldown menus
**Execute Control-E Locals-> Submit
**Recall program Control-R Locals-> Recall text
Scroll up a page Control-V
Scroll back a page Control-D
Go to Bottom Control-B
Go to Top Control-T
**Insert mode Control-X
Help Facility Help
Cursor Home Control-F
Quit SAS Bye File-> Exit
**Include 'filename' File-> Open-> Read file
file 'filename' File-> Save as-> Write to file
Clear Edit-> Clear text
Recall previous command ?
Control-keyname means that you should hold down the CONTROL key and
press the key called keyname.
**Only applicable in the Program Editor Window.