|
Previous | Contents | Index |
Creates or replaces a Menu Definition.
DEFINE MENU menu-name
menu-name
The Menu Name of the Menu which you want to create or replace.
The DEFINE MENU command is used to create or replace an entire Menu Definition. The DEFINE MENU command marks the beginning of a Menu definition. The JAMS> prompt changes to MENU_DEF> until the Menu Definition is complete.Usually, the DEFINE MENU command is part of a JAMS command procedure which contains the entire definition. You can use the EXTRACT MENU command to create a complete DEFINE MENU command procedure.
You must be authorized to create or replace Menu Definitions.related commands
/REPLACE
This qualifier is used to specify whether you want to create or replace the Definition. If you omit this qualifier, the Definition will be created if it does not exist and replaced if it does exist. If you specify /REPLACE, an error will be returned if the definition does not exist and no changes will be made. If you specify /NOREPLACE, an error will be returned if the definition exists and no changes will be made.
The complete syntax for a Menu definition is:DEFINE MENU menu-name
- DESCRIPTION quoted-string
- selection-specification...
END_MENUThe syntax for a selection specification is:
SELECTION select-name-specification
INCLUDE ([JOBS,] [SETUPS,] [MENUS])
- SYSTEM system-id
Previous | Next | Contents | Index |
Copyright © 2000, MVP Systems, Inc. All rights reserved. |