TAA Tools
CHKFILSRC       CHECK FILE SOURCE                      TAAFILD

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

A typical command would be:

             CHKFILSRC     LIB(xxx)

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

Certain files are not considered for further processing:

     - Files created without DDS specifications
     - Source files.
     - DFU and SAVF files.

For  the files created from  source, the source used  for the create is
checked to see if it still exists.  If not, the file 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 file 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.

CHKFILSRC 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  files.   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
     RTVDBFA         Retrieve data base file attributes
     RTVDSPFA        Retrieve display file attributes
     RTVLSTCHG       Retrieve last change
     RTVPRTFA        Retrieve print file attributes
     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
   ------        ----    ---------      ----------    ----------

   CHKFILSRC     *CMD                   TAAFILD       QATTCMD
   TAAFILDC      *PGM       CLP         TAAFILDC      QATTCL
   TAAFILDR      *PGM       RPG         TAAFILDR      QATTRPG
					

Added to TAA Productivity tools July 1, 1999


Home Page Up to Top