Command reference / sys
WRKMNU
Work with Menus
Shows a list of menus, from which menus can be changed, deleted, shown or have their attributes displayed.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC.
Positional parameters: 1.
Restrictions
- Only libraries the user has *USE authority to are searched.
- Only menus the user has some authority to are shown.
Parameters
MENU
Menu
The menus to list: *ALL, a specific or a generic name, qualified by a library. This parameter is required.
*ALL- Qualifier 1: all menus. Qualifier 2: all libraries in the system, including QSYS.
*LIBL- All libraries in the library list are searched.
*CURLIB- The job's current library. If no current library is in the library list, QGPL is used.
*USRLIBL- If a current library entry exists, searches the current library and the user portion of the library list. Otherwise searches only the user portion.
*ALLUSR- Searches all user libraries: those whose names do not begin with Q, except certain IBM development libraries such as #COBLIB and #RPGLIB, plus several Q-prefixed libraries that hold frequently changing user data, such as QGPL and QUSRSYS.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Menu
Menu
Suggested / special values:
*ALL
Library
Library
Suggested / special values:
*LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR
Examples
WRKMNU PERSLIB/OE*
Lists the menus of PERSLIB whose names begin with OE.
Generated from os/cl/catalog/WRKMNU.json and os/cl/help/WRKMNU.json.