TAA Tools
CHGLIBOWN       CHANGE OWNER OF A LIBRARY AND ITS OBJECTS      TAALIBB

The CHGLIBOWN command  changes the owner  of a library and  its objects
to  another owner.   If an object  in the  library is already  owned by
the  new  owner, no  change occurs.   An  option  exists to  remove any
authority of the old owner to the object.

You may  also  specify that  only  a single  owner  of objects  in  the
library be changed.

The typical use of the command is:

       CHGLIBOWN    LIB(ABC) NEWOWN(JONES)

The library object  as well as the objects in  the library are checked.

To  execute the command,  the user  invoking the command  must meet the
authorities required by the CHGOBJOWN command.  In general these are:

  **   Read on the library

  **   Delete on the old user profile

  **   Add on the new user profile

  **   Object existence to the object

The Security  Officer  may execute  the  command  for any  library  and
owner.

The TAA Libraries  may not be changed  to an owner other  than QSECOFR.
See the "TAA Tool Security" discussion of HELPTAA.

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

   LIB           The library containing the objects to be changed.

   NEWOWN        The new owner name.

   OLDOWN        The  old owner name.   The default is  *ANY meaning to
                 change  any  object  found.    If  an  old  owner   is
                 specified,  only  those objects  owned  by  the  named
                 owner will be changed.

   CUROLDOWN     Current  old owner's  authority.   This is  a *YES/*NO
                 value  that  defaults to  *YES  meaning to  revoke the
                 old owner from any authorization to the object.

   OMITOWN       A list  of up  to 10 owners  who may  be omitted  (not
                 changed).  The default is *NONE.

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

None.

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

The following TAA Tools must be on your system:

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

   CHGLIBOWN     *CMD                      TAALIBB        QATTCMD
   TAALIBBC      *PGM          CLP         TAALIBBC       QATTCL
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top