PMENU Procedure

Restriction: You must use at least one MENU statement followed by at least one ITEM statement.
Tips: Supports RUN group processing

You can also use appropriate global statements with this procedure. See Fundamental Concepts for Using Base SAS Procedures for a list.

See: PMENU Procedure: Windows in SAS Companion for Windows

PMENU Procedure: UNIX in SAS Companion for UNIX Environments

PMENU Procedure: z/OS in SAS Companion for z/OS

Syntax

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';
SUBMENU submenu-name SAS-file;

Table of Procedure Tasks

Statement Task Example
PROC PMENU Statement Define customized menus Ex. 1
CHECKBOX Statement Define choices a user can make in a dialog box  
DIALOG Statement Describe a dialog box that is associated with an item in a menu Ex. 2, Ex. 3, Ex. 4
ITEM Statement Identify an item to be listed in a menu bar or in a menu Ex. 1, Ex. 3, Ex. 5
MENU Statement Name the catalog entry or define a menu Ex. 1, Ex. 5
RADIOBOX Statement List and define mutually exclusive choices within a dialog box Ex. 3
RBUTTON Statement List and define mutually exclusive choices within a dialog box Ex. 3
SELECTION Statement Define a command that is submitted when an item is selected Ex. 1, Ex. 4
SEPARATOR Statement Draw a line between items in a menu  
SUBMENU Statement Define a common submenu associated with an item Ex. 1
TEXT Statement Specify text and the input fields for a dialog box Ex. 2
FOOTNOTE 1:The actual names of the buttons vary in different windowing environments.[return]