TAA Tools
ANZCLPCMD       ANALYZE CLP COMMANDS                   TAACMFR

The Analyze  CLP  Commands command  analyzes the  CLP  commands in  the
CLPCMDP file  created by the CVTCLPCMD TAA tool.   A summary by command
name  is listed.  Selection  can occur by such  things as a source file
name and library.

A typical command would be:

             ANZCLPCMD  SRCFILE(ABC/*ALL)

By default, the  CLPCMDP file  created by CVTCLPCMD  would be found  on
the  library  list  and  all  CL  source  from  library  ABC  would  be
analyzed.   One line for each  command would be listed  with a count of
the number of occurrences.

ANZCLPCMD escape messages you can monitor for
---------------------------------------------

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

ANZCLPCMD Command parameters                          *CMD
----------------------------

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

                 The library value defaults to *ALL.

   CMDTYPE       The  command  type to  be  searched.   The  default is
                 *BOTH.   A  value of  *PRI  or *SEC  may  be  entered.
                 *PRI  means the  commands  that  are executed  in  the
                 source.   *SEC  means commands  that are  submitted by
                 SBMJOB or RUNRMTCMD.

   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:

     CVTDAT          Convert date
     EDTVAR          Edit variable
     RTVFMT          Retrieve format
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status 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
   ------        ----    ---------      ----------    ----------

   ANZCLPCMD     *CMD                   TAACMFR       QATTCMD
   TAACMFRC      *PGM       CLP         TAACMFRC      QATTCL
   TAACMFRR      *PGM       RPG         TAACMFRR      QATTRPG
					

Added to TAA Productivity tools April 15, 2012


Home Page Up to Top