Controlling the Main SAS Window

Overview of Controlling the Main SAS Window

SAS system options and windowing environment commands make it possible to change the appearance and behavior of the main SAS window so much that end users might not recognize it as SAS.

SAS System Options That Control the Main SAS Window

The following table lists the system options that provide control over the main SAS window.
SAS System Options for the Main SAS Window
Option
Description
AWSCONTROL
Remove system controls such as the title bar, system menu, and minimize and maximize buttons from the main SAS window.
AWSDEF
Specify the location and dimensions of the main SAS window when SAS initializes.
AWSMENU
Specify whether to display the main SAS window menu bar.
AWSMENUMERGE
Specify whether to embed menu items that are specific to Windows in the main menus.
AWSTITLE
Specify the text that appears in the title bar of the main SAS window.
ICON
Minimize the main SAS window at SAS initialization.
REGISTER
Specify other Windows programs to be included as options on the AWS File menu.
SASCONTROL
Remove system controls and the minimize and maximize buttons from SAS application windows.
SOLUTIONS
Include or suppress the Solutions menu in the main menu.
SPLASH
Specify whether the logo (splash screen) is displayed when SAS starts.
SPLASHLOC
Specify the location of the bitmap that contains the splash screen that you want to display when SAS starts.
TOOLSMENU
Include or suppress the Tools menu in the main menu.
VIEWMENU
Include or suppress the View menu in the main menu.
WEBUI
Specifies whether the web enhancements that select objects by pointing the mouse pointer and using a single mouse-click to invoke the default action are enabled.
WINDOWSMENU
Include or suppress the Window menu in the main menu. WINDOWSMENU is valid only if NOAWSMENUMERGE is specified.

SAS Commands That Control the Main SAS Window

SAS Windowing Environment Commands for the Main SAS Window lists the SAS commands that you can use to control the appearance and behavior of the main SAS window.
SAS Windowing Environment Commands for the Main SAS Window
Option
Description
AWSMAXIMIZE
Maximizes the main SAS window.
AWSMINIMIZE
Minimizes the main SAS window.
AWSRESTORE
Restores the main SAS window to its previous state.
COLOR
Sets the color for various components of the application windows.
COMMAND
Controls the appearance of the command bar or dialog box.
DLGABOUT
Invokes the About dialog box.
DLGCONVERT
Invokes the Convert dialog box for a selected OLE object.
DLGCDIR
Invokes the Change Folder dialog box.
DLGENDR
Invokes the Exit SAS confirmation dialog box.
DLGFIND
Invokes the Finddialog box.
DLGFONT
Invokes the Fonts Selection dialog box.
DLGLIB
Invokes the Libraries dialog box.
DLGLINKS
Invokes the OLE Links dialog box.
DLGOPEN
Invokes the Open dialog box for the Program Editor.
DLGPAGESETUP
Invokes the Page Setup dialog box.
DLGPREF
Invokes the Preferences dialog box.
DLGPRT
Invokes the Print dialog box.
DLGPRTPREVIEW
Invokes the Print Preview window.
DLGPRTSETUP
Invokes the Print Setup dialog box.
DLGREPLACE
Invokes the Replace dialog box.
DLGRUN
Invokes the Run dialog box.
DLGSAVE
Invokes the Save As dialog box.
DLGSMAIL
Invokes the E-mail dialog box.
FILEOPEN
Invokes the Open dialog box for the Enhanced Editor.
NEXTWIND
Displays the next open SAS window.
PMENU
Toggles the command lines on or off in the windowing environment.
PREVWIND
Display the previous open SAS window.
RESHOW
Redisplays the SAS windows that are currently open.
TOOLCLOSE
Closes the toolbox or toolbar.
TOOLEDIT
Invokes the Customize dialog box for toolbars or tool boxes.
TOOLLARGE
Toggles the size of the toolbar or toolbox buttons.
TOOLLOAD
Opens the toolbox or toolbar with the specified configuration.
TOOLSWITCH
Toggles whether the toolbar or toolbox associated with the active window is automatically loaded.
TOOLTIPS
Toggles the ToolTips on or off.
WATTACH
Toggles whether the contents of the active window are attached to e-mail that you send through SAS.
WDOCKVIEW
Enables dockable windows.
WEDIT
Invokes a new Enhanced Editor window.
WEMAILFMT
Specifies the format (.RTF or .TEXT) of any text window that you attach to an e-mail message.
WHIDECURSOR
Suppress display of the cursor.
WHSBAR
Toggles the horizontal scroll bars on or off.
WINSERT
Toggles the insert mode on or off.
WMENUPOP
Enables or disables the pop-up menus in the SAS application windows.
WMRU
Specifies how many filenames to retain in the list under the File menu.
WNEWTITLE
Clears the contents of the active window and removes its title.
WNEXTEDIT
Switches the active Enhanced Editor window to another Enhanced Editor window.
WPOPUP
Causes the pop-up menu for the active window to appear.
WSCREENTIPS
Toggles the ScreenTips on or off.
WSTATUSLN
Toggles the status bar on or off, and controls the area proportions.
WUNDO
Undoes the previous editing action.
WVSBAR
Toggles the vertical scroll bars on or off.
WWINDOWBAR
Displays the window bar at the bottom of the main SAS window.
ZOOM
Maximizes the active SAS application window.