CL Command Reference - CRTMNU

CL Command List > CRTMNU Reference

Description:

The Create Menu (CRTMNU) command is used to create a menu object. Both Display File (*DSPF) and Program (*PGM) menus can be created by using this command. A menu can be displayed using the Go to Menu (GO) command.

Restrictions:

. You must have change (*CHANGE), read (*READ), and add (*ADD) authorities for the library where the menu is to be created.


Examples:

CRTMNU MENU(ARLIB/ARPERS) TYPE(*PGM)

This command creates a menu named ARPERS in library ARLIB. The menu calls a program (also named ARPERS) when the menu is run.