TAA Tools
CHGOWNOBJ       CHANGE OWNED OBJECTS                   TAASECP

The  Change  Owned  Objects command  changes  the  ownership  of  owned
objects from one user profile to another.

A typical command would be entered as:

           CHGOWNOBJ   FROMUSER(xxx) TOUSER(yyy)

You must have *ALLOBJ authority to use the command.

At  the completion  of the command,  a message  is sent  describing the
number  of objects changed and if any  errors occurred.  A spooled file
is created with a  list of the objects  changed and the details of  any
errors that have occurred.

The users message queue in QUSRSYS is never changed.

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

   FROMUSER      The  user  who  currently   owns  the  objects  to  be
                 changed.

   TOUSER        The  user to change  the ownership of  the objects to.

   OBJTYPE       The object  type  to change.    The default  is  *ALL.
                 Specifying an  object type  allows you to  change only
                 specific object types.

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

You must have *ALLOBJ authority or adopt it to use CHGOWNOBJ.

QDOCx objects are not supported.

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

The following TAA Tools must be on your system:

       EDTVAR         Edit variable
       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
   ------        ----    ---------      ----------    ----------

   CHGOWNOBJ     *CMD                   TAASECP       QATTCMD
   TAASECPC      *PGM       CLP         TAASECPC      QATTCL
   TAASECPR      *PGM       RPG         TAASECPR      QATTRPG
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top