TAA Tools
CHKCMDSRC       CHECK COMMAND SOURCE                   TAACMED

The Check  Command Source command  checks for  whether the source  used
to create  the command objects  still exists.   'Down level' conditions
where  the source  has been changed  after the command  was created are
flagged.   CHKCMDSRC can  be helpful  in determining  if your  commands
are synchronized between source and object.

A typical command would be:

             CHKCMDSRC     LIB(xxx)

All commands  in the named library  would be listed  including the last
date used (if any).

The  source used for the create  is checked to see  if it still exists.
If not, the command is flagged.

If the source  exists, the source  data is read  to determine the  last
change date.   If  a statement  has been changed  after the  object was
created, the command is flagged as 'Down level'.

You  can process a  single library, all  libraries on the  user portion
of the  library list,  or all  user libraries.   You  may omit  certain
libraries from being considered.

If all  user libraries  are requested,  you must be  authorized to  the
TAADSPADP authorization list.

CHKCMDSRC escape messages you can monitor for
---------------------------------------------

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

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

   LIB           The library  to be checked for commands.   The special
                 values   *CURLIB,   *USRLIBL,   or   *ALLUSR   may  be
                 specified.   You must be  authorized to the  TAADSPADP
                 authorization list to specify *ALLUSR.

   OMITLIB       A  list of  up to  40 libraries  may be  entered which
                 will  prevent  any output  from  the  named libraries.
                 TAATOOL and  TAASECURE are  automatically omitted  for
                 *USRLIBL or *ALLUSR.  The default is *NONE.

                 Any  libraries  that  are   entered  are  checked  for
                 existence.   No check occurs  to see if  they would be
                 processed by the LIB parameter.

                 *NONE must be specified if  the LIB parameter names  a
                 specific library or *CURLIB.

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

If LIB(*ALLUSR) is specified,  you must be authorized to  the TAADSPADP
authorization list.

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

The following TAA Tools must be on your system:

     DSPOBJD3        Display object description 3
     EDTVAR          Edit variable
     EXTLST2         Extract list 2
     RTVLSTCHG       Retrieve last change
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   CHKCMDSRC     *CMD                   TAACMED       QATTCMD
   TAACMEDC      *PGM       CLP         TAACMEDC      QATTCL
   TAACMEDR      *PGM       RPG         TAACMEDR      QATTRPG
					

Added to TAA Productivity tools July 1, 1999


Home Page Up to Top