TAA Tools
CHGGENOWN       CHANGE GENERIC OBJECTS OWNER           TAASEDQ

The  Change Generic  Objects  Owner command  changes  the ownership  of
objects  with the same  generic name.   All object  types or a  list of
specific object types may be named.

A typical command would be:

             CHGGENOWN   OBJ(LIB1/ABC) NEWOWN(xxx)

All  ABC objects in LIB1  would be changed to  the specified new owner.
The completion  message describes how  many objects  were changed.   If
some of  the generic objects  are already owned  by the new  owner, the
command  completes  normally  and  the  completion  message  states the
number.

You must  have  proper  authority to  the  objects and  the  new  owner
profile to use CHGGENOWN.

Relationship with CHGOBJOWN and CHGLIBOWN
-----------------------------------------

The system command CHGOBJOWN allows the change of a single object.

The TAA Tool CHGLIBOWN  allows the change of all  objects in a library.

CHGGENOWN  provides the  intermediate support  so  that you  can change
more than  one  object  with a  single  command  and yet  not  have  to
operate on an entire library.

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

   OBJ           The generic object  name to be  changed.  No  * should
                 be  entered.   If  a  10 character  name  is used,  no
                 generic support exists.

                 The   library  qualifier  defaults  to  *USRLIBL.    A
                 specific  library, *CURLIB,  or  *ALLUSR may  also  be
                 specified.

   NEWOWN        The new  owner name  for the objects.   You  must have
                 authority to the name used.

   CUROWNAUT     How  to handle the  current owner authority.   This is
                 the same parameter  as on CHGOWNOBJ.   The default  is
                 *REVOKE  meaning the  current  owner  is revoked  from
                 the object.

                 *SAME  may  be specified  to retain  the  authority of
                 the current owner.

   OBJTYPE       *ALL is the default to  change any object type of  the
                 same generic  name.  A  list of specific  object types
                 may be named.

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

You must have authority to the objects and the the new owner.

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

The following TAA Tools must be on your system:

     EDTVAR          Edit variable
     EXTLST          Extract list
     SNDCOMPMSG      Send completion message
     SNDDIAGMSG      Send diagnostic 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
   ------        ----    ---------      ----------    ----------

   CHGGENOWN     *CMD                   TAASEDQ       QATTCMD
   TAASEDQC      *PGM       CLP         TAASEDQC      QATTCL
					

Added to TAA Productivity tools September 1, 1996


Home Page Up to Top