Supervising the Network
6-11
Creating Menus
Using the NMENU Commands
Using the NMENU Commands
Menu programs use two types of commands: organizational and control. The
following sections describe these commands and their options.
NMENU Organizational Commands and Options
Organizational commands establish the content and organization of the
menus the user sees on the screen. Use these commands to determine what
the menus look like.
Table 6-1 gives an overview of the organizational commands. Detailed
information about each command follows the table.
MENU
Indicates a new window definition within your menu file.
Command Format
MENU menu_number,menu_name
Replace menu_number with the number you want to assign to this menu.
Menus are called and displayed by their number.
A menu number can be any number from 1 through 255. Each menu within a
source file must be assigned a unique number, but the number sequence
doesn’t matter.
Replace menu_name with the title you want to appear at the top of the menu.
Menu names can be a maximum of 40 characters long.
Table 6-1 NMENU Organizational Commands
Command Explanation
MENU Marks the beginning of a new menu or submenu screen in
the text.
ITEM Identifies an item to be listed on the menu. Specifies
execution parameters.