TAA Tools
DSPOBJSRCC      DISPLAY OBJECT SOURCE CHANGE           TAAOBMI

The Display  Object  Source Change  command lists  objects  in a  named
library where  the change date  of the source  member that was  used to
create  the object  is more  current than the  object create  date.  If
the member does  not exist, it  is flagged.  If  a program was  created
from modules,  the source for the  module with the  most current source
change date is used for the comparison.

You must have *ALLOBJ authority to use DSPOBJSRCC.

Note  that the  comparison is to  the change  date found  in the member
and not the source change date that is stored in the object.

DSPOBJSRCC is a  slow runner  if many  program type objects  are to  be
processed.

A typical command would be:

             DSPOBJSRCC  OBJ(xxx/*ALL)

All  object descriptions  in  the named  library would  be  read.   Any
objects not  created from source are bypassed.   The source member used
to create  an  object  would  be  found  and  the  source  change  date
compared  to the  create  date.   If  the source  change  date is  more
current, the object is listed.

If the  object was created  from multiple modules, the  module with the
most current source change date is used for the comparison.

If  the source  member no  longer exists  where the object  was created
from, the object is flagged.

DSPOBJSRCC escape messages you can monitor for
----------------------------------------------

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

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

   OBJ           The qualified  name of the  object to  be checked.   A
                 single object,  a generic  name, or the  special value
                 *ALL may be used for all objects in a library.

                 A specific library qualifier must be specified.

   OBJTYPE       The  object   type  to  be  selected.    *ALL  is  the
                 default.  Use the  prompter for the supported  values.
                 While  all  types  are  shown,  only  those  that  are
                 created from a source member will be listed.

   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:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTDAT          Convert date
     CVTMODINF       Convert module information
     CVTOBJD4        Convert object description 4
     RSNLSTMSG       Resend last message
     RTVPGMA         Retrieve program attributes
     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
   ------        ----    ---------      ----------    ----------

   DSPOBJSRCC    *CMD                   TAAOBMI       QATTCMD
   TAAOBMIC      *PGM       CLP         TAAOBMIC      QATTCL
   TAAOBMIC2     *PGM       CLP         TAAOBMIC2     QATTCL
   TAAOBMIC3     *PGM       CLP         TAAOBMIC3     QATTCL
   TAAOBMIR      *PGM       RPG         TAAOBMIR      QATTRPG
					

Added to TAA Productivity tools October 15, 2011


Home Page Up to Top