TAA Tools
CHKOWNCHG       CHECK OWNER CHANGE                     TAAOBMC

The Check  Owner Change command  compares the current  owner of one  or
more  objects to  the  owner that  created  the object  and  displays a
listing.   Those  objects with  the same  owner are bypassed.   Options
exist to  process only  those owned by  a named  user or  created by  a
named user.

A typical command would be:

             CHKTAAOWN   OBJ(xxx/*ALL) OBJTYPE(*ALL)

All objects  in the  named library would  be processed.   Those objects
where  the  current  owner  differs from  the  owner  that  created the
object would be displayed.

Note that system and TAATOOL  objects that are installed normally  have
a difference between the create user and the current owner.

CHKOWNCHG escape messages you can monitor for
---------------------------------------------

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

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

   OBJ           The qualified  name of  the object to  be checked.   A
                 specific  object name, a generic  name, or the special
                 value *ALL may be entered.

                 The library qualifier defaults  to *LIBL.  A  specific
                 library may be  named or a special value  of *USRLIBL,
                 *ALL,  or *ALLUSR.   You  must have  *ALLOBJ authority
                 to specify a library qualifier of *ALL or *ALLUSR.

   OBJTYPE       The  object  type to  be  processed.   The  default is
                 *ALL.

                 A  specific  object  type  may  be  named.    Use  the
                 prompter to determine the supported values.

   CUROWN        The  name of  the owner  of objects  to  be processed.
                 *ALL is the default for all owners.

                 A  specific user profile may be  named to process only
                 those objects  owned by  the named  user.   Note  that
                 those  objects owned  and created  by  the named  user
                 will not appear in the listing.

   CRTOWN        The  name of the  user who  created the objects  to be
                 processed.  *ALL is the default for all owners.

                 A specific user profile may  be named to process  only
                 those objects  that were  created by  the named  user.
                 Note  that  those objects  owned  and  created by  the
                 named user will not appear in the listing.

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

You  must have  *ALLOBJ authority  to  specify a  library qualifier  of
*ALL or *ALLUSR.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     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
   ------        ----    ---------      ----------    ----------

   CHKOWNCHG     *CMD                   TAAOBMC       QATTCMD
   TAAOBMCC      *PGM       CLP         TAAOBMCC      QATTCL
   TAAOBMCR      *PGM       RPG         TAAOBMCR      QATTRPG
					

Added to TAA Productivity tools July 15, 2010


Home Page Up to Top