COMMAND Command: Windows

Specifies the options for the command bar.

Windows specifics: valid options

Syntax

Without Arguments

toggles the command line on and off for the active window.

Optional Arguments

WINDOW <"title">

specifies to display the command bar as a separate window that can be moved anywhere on the desktop. The "title" argument is optional and must be enclosed in double quotation marks. When you specify title, the command window appears with title as the title.

BAR

specifies to display the command bar in a stationary location, underneath the menu bar.

SORT=MCU|MRU

specifies how you want SAS to sort the commands in the command bar drop-down list. You can sort commands in the order in which you most commonly use them (MCU) or that you most recently used them (MRU).

You must specify the WINDOW or BAR argument in the command before specifying the SORT argument.

FOCUS

specifies to place the window focus in the command bar.

MAX=max-commands

specifies the maximum number of commands to “remember” in the command bar drop- down list. Valid values are 0 through 50.

You must specify the WINDOW or BAR argument in the command before specifying the MAX argument.

AUTOCOMPLETE | NOAUTOCOMPLETE

specifies whether the command bar attempts to match the command that is being entered with commands that were previously entered.

You must specify the WINDOW or BAR argument in the command before specifying the AUTOCOMPLETE argument.

CLOSE

specifies to close the command bar.

Details

You can set some of these options by using the Customize Tools dialog box. However, you can specify a title for the Command window only by using this command.
If you issue COMMAND FOCUS when the command bar is closed
  • The command bar is opened in the state that it was in before it was closed, either docked to the main SAS window or undocked as a separate window.
  • The window focus is placed in the command bar.

See Also

“COMMAND Command” in the SAS Help and Documentation