Command reference / sys

DLTMNU

Delete Menu

Deletes menus, and optionally the display file and message file of a display file menu or the program of a program menu.

Allowed environments: *ALL. Positional parameters: 1.

Restrictions

Parameters

DLTREFOBJ Delete referenced objects

The objects the menu refers to that are deleted with it. They are found with their own library qualifiers; the menu's current and product libraries are not used.

Type
*CHAR
Required
No
Default
*NONE
Length
5
List limit
3
Case
Uppercase

Allowed values: *DSPF, *MSGF, *PGM, *NONE, *ALL

*NONE
No referenced object is deleted.
*ALL
Every referenced object is deleted.
*DSPF
The display file.
*MSGF
The message file.
*PGM
The program.

Examples

DLTMNU MENU(EXLIB/TEST) DLTREFOBJ(*DSPF *MSGF)

Deletes menu TEST in EXLIB with its display file and message file.

IBM command documentation

Generated from os/cl/catalog/DLTMNU.json and os/cl/help/DLTMNU.json.