TAA Tools
DSPMSGDAT       DISPLAY MESSAGE QUEUE BY DATE          TAAMSKM

The Display  Message Queue by  Date command  provides a simple  listing
of the messages  in a message queue by date and  time.  This provides a
review of how old messages are in a message queue.

A typical command would be:

             DSPMSGDAT  MSGQ(QSYSOPR)

The  messages in  the QSYSOPR  message queue  would be listed  with the
date and time of each message.

DSPMSGDAT escape messages you can monitor for
---------------------------------------------

      TAA9891    No messages exist in the message queue

Escape messages from based on functions will be re-sent.

DSPMSGDAT Command parameters                          *CMD
----------------------------

   MSGQ          The  qualified  name  of  the  message  queue   to  be
                 listed.   The  library  value defaults  to  *LIBL.   A
                 specific library or *CURLIB may also be used.

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

None.

Prerequisites
-------------

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     CVTMSGQ         Convert message queue
     RSNLSTMSG       Resend last message
     RTVMSGQA        Retrieve message queue attributes
     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
   ------        ----    ---------      ----------    ----------

   DSPMSGDAT     *CMD                   TAAMSKM       QATTCMD
   TAAMSKMC      *PGM       CLP         TAAMSKMC      QATTCL
   TAAMSKMR      *PGM       RPG         TAAMSKMR      QATTRPG
					

Added to TAA Productivity tools July 15, 2013


Home Page Up to Top