TAA Tools

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

   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.

   ACTION        The  type of action  to perform.   *CHANGE will change
                 the owner of  the selected objects  to the new  owner.
                 *CHECK  will only  produce a  report  of the  proposed
                 changes.  The default is *CHANGE.

   ESCAPE        Whether  or not to  send an  escape message  if either
                 the  from user profile  or the to  user profile begins
                 with a  Q.  This  is a  safeguard to prevent  changing
                 ownership  of  IBM  i  system  objects.   *YES  -  The
                 escape  will be sent.   *NO -  The escape  will not be
                 sent and  ownership  can be  changed.   Use  *NO  with
                 caution.  The default is *YES.


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

QDOCx objects are not supported.


The following TAA Tools must be on your system:

       EDTVAR         Edit variable
       SNDCOMPMSG     Send completion message
       SNDESCMSG      Send escape message
       SNDSTSMSG      Send status message


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