Display Mode Status (DSPMODSTS)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Display Mode Status (DSPMODSTS) command shows the status of all modes associated with an APPC/APPN device description. The display shows the status of the APPC/APPN device, the current number of source, target, and detached conversations in use, and configured and operational session maximum values.

Top

Parameters

Keyword Description Choices Notes
DEV Device Name Required, Positional 1
MODE Mode Communications name, *ALL Optional, Positional 2
OUTPUT Output *, *PRINT Optional, Positional 3
Top

Device (DEV)

Specifies the name of the APPC device description.

This is a required parameter.

Top

Mode (MODE)

Specifies the name of the mode whose status is being shown.

The possible values are:

*ALL
All the modes used by the specified device are shown.
mode-name
Specify the name (up to 8 characters ) of the mode whose status is being shown for the specified device.
BLANK
A mode name of 8 blank characters is shown.
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 possible values are:

*
The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.
Top

Examples

DSPMODSTS   DEV(MINN2)  MODE(CICS2)

This command shows the status of the mode CICS2 used by the device MINN2. If the command is entered from a batch job, the output from the display is printed with the job's spooled output.

Top

Error messages

*ESCAPE Messages

CPF2625
Not able to allocate object .
CPF2634
Not authorized to object .
CPF2688
Device is not in a proper status to get mode information.
CPF2698
Mode not found for device .
CPF2702
Device description not found.
CPF2706
Device not *APPC type device.
CPF9850
Override of printer file not allowed.
Top