DSPMNUA (Display Menu Attributes) Command Description

DSPMNUA Command syntax diagram

Purpose

The Display Menu Attributes (DSPMNUA) command shows the following:

Restriction: The user must have *USE authority for the menu whose attributes are being shown and *USE authority for the library where the menu is located.

Required Parameter

MENU
Specifies the qualified name of the menu whose attributes are displayed.

The name of the menu can be qualified by one of the following library values:

*LIBL: All libraries in the job's library list are searched until the first match is found.

*CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.

library-name: Specify the name of the library to be searched.

menu-name: Specify the name of the menu whose attributes are displayed.

Optional Parameter

OUTPUT
Specifies whether the output is directed to the display station screen or to a printer. More information on this parameter is in commonly used parameters.

*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.

*PRINT: The output is printed with the job's spooled output.

Example for DSPMNUA

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

Error messages for DSPMNUA

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