JAMS Reference Manual
Contents Index JAMS Home Support

JAMS Reference Manual


Previous Contents Index


DEFINE MENU

Creates or replaces a Menu Definition.

Format

DEFINE MENU menu-name


Parameters

menu-name

The Menu Name of the Menu which you want to create or replace.

Description

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.

restrictions

You must be authorized to create or replace Menu Definitions.
related commands

Qualifiers

/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.

Syntax Diagram

The complete syntax for a Menu definition is:
DEFINE MENU menu-name
  • DESCRIPTION quoted-string

  • selection-specification...

END_MENU

The syntax for a selection specification is:

SELECTION select-name-specification
INCLUDE ([JOBS,] [SETUPS,] [MENUS])


Previous Next Contents Index
JAMS Copyright © 2000, MVP Systems, Inc. All rights reserved.