Chapter 34: The PMENU Procedure


Overview: PMENU Procedure

The PMENU procedure defines menus that can be used in DATA step windows, macro windows , both SAS/AF and SAS/FSP windows , or in any SAS application that enables you to specify customized menus.

Menus can replace the command line as a way to execute commands. To activate menus, issue the PMENU command from any command line. Menus must be activated in order for them to appear.

When menus are activated, each active window has a menu bar , which lists items that you can select. Depending upon which item you select, SAS either processes a command, displays a menu or a submenu, or requests that you complete information in a dialog box. The dialog box is simply a box of questions or choices that require answers before an action can be performed. The following figure illustrates features that you can create with PROC PMENU.

click to expand
Figure 34.1: Menu Bar, Pull-Down Menu, and Dialog Box

Note: A menu bar in some operating environments may appear as a popup menu or may appear at the bottom of the window.

The PMENU procedure produces no immediately visible output. It simply builds a catalog entry of type PMENU that can be used later in an application.




Base SAS 9.1.3 Procedures Guide (Vol. 1)
Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4
ISBN: 1590472047
EAN: 2147483647
Year: 2004
Pages: 260

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net