TAA Tools
DSPCLPCMD       DISPLAY CLP COMMAND                    TAACMFS

The Display  CLP  Command command  displays commands  from the  CLPCMDP
file  created  by  CVTCLPCMD.   Various  search  criteria  such as  the
source  file library  may be named.   DSPCLPCMD provides  a fast access
for where a specific command name has been used.

A typical command would be:

             DSPCLPCMD  CMD(CPYF) SRCFILE(ABC/QCLSRC)

The default  is  to use  the  library list  to  find the  CLPCMDP  file
created by CVTCLPCMD.

All CPYF  commands found  in the  QCLSRC file of  library ABC  would be
displayed.     The  display  includes  the  source  file/library/member
information as well  as the  sequence number,  source statement  change
date, and the member text.

DSPCLPCMD escape messages you can monitor for
---------------------------------------------

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

DSPCLPCMD Command parameters                          *CMD
----------------------------

   CMD           The command to be displayed or listed.

   SRCFILE       The  qualified   name  of   the  source  file   to  be
                 searched.   *ALL is the default  for all source files.
                 A generic name may be used.

                 The library value  defaults to  *ALL.   A specific  or
                 generic library may be used.

   SRCMBR        The source  member  to be  searched.   The default  is
                 *ALL.  A specific or generic name may be entered.

   SRCTYPE       The  source  type to  be  searched.    The default  is
                 *ALL.  A value of CLP or CLLE may be entered.

   CLPCMDPLIB    The  library  that contains  the CLPCMDP  file created
                 by the CVTCLPCMD TAA  command.  The default  is *LIBL.
                 A specific library or *CURLIB may be used.

   CLPCMDPMBR    The member  of the CLPCMDP  file to be searched.   The
                 default  is *FIRST.   A  specific member or  *LAST may
                 be entered.

   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:

     CHKGENERC       Check generic
     CVTDAT          Convert date
     RTVFMT          Retrieve format
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

Implementation
--------------

The file CLPCMDP must first be created by the CVTCLPCMD tool.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   DSPCLPCMD     *CMD                   TAACMFS       QATTCMD
   TAACMFSC      *PGM       CLP         TAACMFSC      QATTCL
   TAACMFSR      *PGM       RPG         TAACMFSR      QATTRPG
					

Added to TAA Productivity tools April 15, 2012


Home Page Up to Top