Previous Page | Next Page

The PMENU Procedure

Syntax: PMENU Procedure


Restriction: You must use at least one MENU statement followed by at least one ITEM statement.
Tip: Supports RUN group processing
Tip: You can also use appropriate global statements with this procedure. See Fundamental Concepts for Using Base SAS Procedures for a list.
See: PMENU Procedure under Windows, UNIX, OpenVMS, and z/OS
Table of Contents: The PMENU Procedure

PROC PMENU <CATALOG=<libref.>catalog>
<DESC 'entry-description'>;
MENU menu-bar;
ITEM command <option(s)>;
ITEM 'menu-item' <option(s)>;
DIALOG dialog-box 'command-string
field-number-specification
';
CHECKBOX <ON> #line @column
'text-for-selection'

<COLOR=color> <SUBSTITUTE='text-for-substitution'>;
RADIOBOX DEFAULT=button-number;
RBUTTON <NONE> #line @column
'text-for-selection'
<COLOR=color> <SUBSTITUTE='text-for-substitution'>;
TEXT #line @column field-description
<ATTR=attribute> <COLOR=color>;
MENU pull-down-menu;
SELECTION selection 'command-string';
SEPARATOR;
SUBMENU submenu-name SAS-file;

Task Statement
Define customized menus PROC PMENU
Define choices a user can make in a dialog box CHECKBOX
Describe a dialog box that is associated with an item in a menu DIALOG
Identify an item to be listed in a menu bar or in a menu ITEM
Name the catalog entry or define a menu MENU
List and define mutually exclusive choices within a dialog box RADIOBOX and RBUTTON
Define a command that is submitted when an item is selected SELECTION
Draw a line between items in a menu SEPARATOR
Define a common submenu associated with an item SUBMENU
Specify text and the input fields for a dialog box TEXT

Previous Page | Next Page | Top of Page