TAA Tools
DSPQMQRY        DISPLAY QMQRY                          TAAQRYE

The Display QMQRY  command displays either  a *QMQRY or  *QRYDFN object
by  retrieving  basic  information  about  the  object and  the  source
retrieved  by  RTVQMQRY.   The command  may be  useful in  reviewing an
existing query.

RTVQMQRY does  not retrieve  all  possible information  about a  query.
DSPQMQRY only displays the results of RTVQMQRY.

A typical command would be:

             DSPQMQRY  QRY(xxx)

A display  would appear for the  named query.  The  first *QMQRY object
for the  specified name on the library list  would be accessed.  If the
object does not exist, the first *QRYDFN object would be accessed.

DSPQMQRY escape messages you can monitor for
--------------------------------------------

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

DSPQMQRY Command parameters                           *CMD
---------------------------

   QRY           The qualified name  of the object.   It may be  either
                 a *QMQRY  (checked first)  or a  *QRYDFN object.   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.   The spooled file is  deleted after it
                 is displayed.

                 If  the  command  is  entered in  batch  or  *PRINT is
                 specified, the  spooled file  is output and  retained.


Restrictions
------------

RTVQMQRY  does not  retrieve all  possible information  about  a query.
DSPQMQRY only displays the results of RTVQMQRY.

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

The following TAA Tools must be on your system:

     CVTTIM          Convert time
     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
   ------        ----    ---------      ----------    ----------

   DSPQMQRY      *CMD                   TAAQRYE       QATTCMD
   TAAQRYEC      *PGM       CLP         TAAQRYEC      QATTCL
   TAAQRYER      *PGM       RPG         TAAQRYER      QATTRPG
					

Added to TAA Productivity tools January 15, 2009


Home Page Up to Top