DSPMSGCNT DISPLAY MESSAGE COUNT TAAMSKB |
The Display Message Count command displays a list of message queues
and the number of messages in each. By default, message queues
without any messages are bypassed.
You must have *ALLOBJ special authority to use a library qualifier of
*ALL.
A typical command would be:
DSPMSGCNT MSGQ(*ALL/*ALL)
A listing would appear with one line for each message queue on the
system that has at least one message.
DSPMSGCNT escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
DSPMSGCNT Command parameters *CMD
----------------------------
MSGQ The qualified name of the message queue(s) to be
listed. A specific name, a generic name, or the
special value *ALL may be used. The library value
defaults to *ALL. A specific library, *LIBL or
*CURLIB may also be used.
BYPEMPTY A *YES/*NO parameter for whether to bypass the
message queues that have 0 messages.
*YES is the default to bypass those with 0 messages.
*NO may be entered to list all message queues.
OUTPUT How to output the results. * is the default to
display the spooled file if the command is entered
interactively. If the display is ended with F3/F12
or the Enter key, the spooled file is deleted after
it is displayed. To retain the spooled file, you
may use the the System Request 'Cancel' function and
the spooled file will exist in a HLD status.
If the command is entered in batch or *PRINT is
specified, the spooled file is output and retained.
Restrictions
------------
You must have *ALLOBJ special authority to use a library qualifier of
*ALL.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKALLOBJ Check *ALLOBJ special authority
CVTMSGQA Convert message queue attributes
RSNLSTMSG Resend last message
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
DSPMSGCNT *CMD TAAMSKB QATTCMD
TAAMSKBC *PGM CLP TAAMSKBC QATTCL
TAAMSKBR *PGM RPG TAAMSKBR QATTRPG
|
Added to TAA Productivity tools April 15, 2013