Display Menu Attributes (DSPMNUA)
Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Menu Attributes (DSPMNUA) command shows the following for the specified menu:
- Menu type
- Program name and library for program menus
- Display file name and library for display file menus
- Message file name and library for display file menus
- The type of the command line to be shown for display file menus
- *LONG
- *SHORT
- *NONE (an option line is used)
- Whether or not a description of the active function keys should be shown for display file menus
- Current library
- Product library
- Descriptive text
Restrictions:
- You must have use (*USE) authority for the menu, and *USE authority for the library where the menu is located.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
MENU | Menu | Qualified object name | Required, Positional 1 |
Qualifier 1: Menu | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTPUT | Output | Optional |
Top |
Menu (MENU)
Specifies the menu whose attributes are to be shown.
This is a required parameter.
Qualifier 1: Menu
- name
- Specify the name of the menu object.
Qualifier 2: Library
- *LIBL
- All libraries in the library list for the current thread are searched until the first match is found.
- *CURLIB
- The current library for the job is used to locate the menu. If no library is specified as the current library for the job, QGPL is used.
- name
- Specify the library where the menu is located.
Top |
Output (OUTPUT)
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
- *
- The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
- The output is printed with the job's spooled output.
Top |
Examples
DSPMNUA MENU(PAYROLL)
This command shows the attributes of a menu named PAYROLL at the display station (if the command is running interactively). The menu is found by searching the library list (*LIBL default value).
Top |
Error messages
*ESCAPE Messages
- CPF6ACD
- Menu &1 in &2 is wrong version for system.
- CPF7D41
- Error occurred while logging order assistance request.
- CPF7D42
- Error occurred while performing database operation.
- CPF9801
- Object &2 in library &3 not found.
- CPF9802
- Not authorized to object &2 in &3.
- CPF9803
- Cannot allocate object &2 in library &3.
- CPF9807
- One or more libraries in library list deleted.
- CPF9808
- Cannot allocate one or more libraries on library list.
- CPF9810
- Library &1 not found.
- CPF9811
- Program &1 in library &2 not found.
- CPF9812
- File &1 in library &2 not found.
- CPF9814
- Device &1 not found.
- CPF9820
- Not authorized to use library &1.
- CPF9821
- Not authorized to program &1 in library &2.
- CPF9822
- Not authorized to file &1 in library &2.
- CPF9825
- Not authorized to device &1.
- CPF9830
- Cannot assign library &1.
- CPF9831
- Cannot assign device &1.
- CPF9845
- Error occurred while opening file &1.
- CPF9846
- Error while processing file &1 in library &2.
- CPF9847
- Error occurred while closing file &1 in library &2.
- CPF9871
- Error occurred while processing.
Top |