The Command window (if it is available in your operating environment) includes a text
area. You can place your cursor in this area and then issue commands.
To execute a command, type the command on the command line and then press the
ENTER key, depending on which operating environment you are using. You can specify
a simple one-word command, multiple commands separated by semicolons, or a
command followed by an option.
For example, if you want to move from the Editor window and open both the Log and
the Output windows, on the command line of the Editor window, specify
log; output
The following display shows log; output entered on a command line:
Figure 41.2 Entering Commands on the Command Line
Next, press ENTER or RETURN to execute both commands. The Log and Output
windows appear. The Output window is the active window because the command to
open this window was executed last.
Using Menus
SAS windowing environment windows can display menus instead of a command line.
You can then make menu selections to do things that you would usually accomplish by
entering commands.
If your operating environment does not default to using drop-down menus, then issue the
PMENU command at a command line to turn on menus for all windows that support
them.
You can point and click menus and menu items with a mouse to make your selections. In
some operating environments, you can also make menu selections by moving your
cursor over the menu items and then pressing ENTER or RETURN. Depending on the
item that you select, one of three things happens:
• a command executes
• a menu appears
• a dialog box appears
In many cases, double-clicking on items and right-clicking on items will cause different
menus to appear. Sometimes you might want to try one or the other when selecting an
item does not give you the expected result.
Using SAS Windowing Environment Command Types 759