TAA Tools
DSPSRCCHG       DISPLAY SOURCE CHANGE                  TAASRFE

The Display  Source Change  command displays  the changes  to a  source
member  between two dates.   Both  dates default  to the last  time the
source  member  was  changed.    The default  is  to  display  just the
changes.  All statements may be listed with the changes flagged.

Note that  source statements  that were  deleted during  the two  dates
cannot be flagged because they no longer exist.

A typical  command to list  the changes the  last time a  source member
was changed would be:

             DSPSRCCHG  SRCMBR(xxx) SRCFILE(yyy)

A  spooled file would  be displayed with  just the changes  made on the
last day the source member was changed.

DSPSRCCHG escape messages you can monitor for
---------------------------------------------

      CPF3027    Not a data base file
      CPF9801    The file does not exist
      CPF9810    The library does not exist
      CPF9815    The member does not exist
      TAA9893    Authority failure
      TAA9894    The file is not a source type
      TAA9895    The file attribute does not match the request

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

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

   SRCMBR        The source member to be checked for changes.

   SRCFILE       The qualified name of  the source file containing  the
                 the  source member.    The file  may  be specified  as
                 *CLP,  *RPG,  etc  as  a  shorthand  for the  standard
                 supplied source files QCLSRC, QRPGSRC, etc.

                 The library qualifier defaults  to *LIBL.  *CURLIB  or
                 a specific library may be entered.

   FROMDATE      The From date  range.  The default is  *LSTCHG meaning
                 the last  time the source was changed  by SEU (as seen
                 using  DSPMBRD).   A specific  date may  be entered in
                 job date format.

   TODATE        The To  date range.   The default  is *LSTCHG  meaning
                 the last time  the source was changed by  SEU (as seen
                 using  DSPMBRD).   A specific  date may be  entered in
                 job date format.

                 The To date cannot be less than the From date.

   OPTION        Whether to list  just the  changes or all  statements.
                 Any  changed  statements  within the  date  range  are
                 flagged.

                 *CHGS is the default to list just the changes.

                 *ALL may be specified to list all the statements.

   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
------------

None.

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

The following TAA Tools must be on your system:

     CHKDBFMBR       Check data base file member
     CVTDAT          Convert date
     HLRMVMSG        HLL Remove message
     RSNLSTMSG       Resend last message
     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
   ------        ----    ---------      ----------    ----------

   DSPSRCCHG     *CMD                   TAASRFE       QATTCMD
   TAASRFEC      *PGM       CLP         TAASRFEC      QATTCL
   TAASRFER      *PGM       RPG         TAASRFER      QATTRPG
					

Added to TAA Productivity tools October 15, 2009


Home Page Up to Top