TAA Tools
CHGOBJAUT2      CHANGE OBJECT AUTHORITY 2              TAASEIO

The Change Object  Authority 2 command  changes the *PUBLIC user  of an
object  to the  CRTAUT value of  the library  where the  object exists.
If  the library value is *SYSVAL,  the QCRTAUT system value is accessed
and used.  CHGOBJAUT2  allows existing objects to have  their authority
changed to adhere to the library default.

You  must have  *OBJOPR, *OBJMGT,  *READ,  *UPD, *ADD,  *DLT and  *EXEC
authority to the object.

A typical command would be:

              CHGOBJAUT2  OBJ(LIB1/ABC) OBJTYPE(*PGM)

The  library  CRTAUT  value for  LIB1  would be  accessed  and  the TAA
CHGOBJAUT command would  be run internally  for the *PUBLIC  user.   If
the CRTAUT  value is *SYSVAL,  the QCRTAUT  system value would  be used
for the CRTAUT value.

If  the CRTAUT  value  is the  name  of an  *AUTL, the  object  will be
assigned to the *AUTL and the *PUBLIC user set to *AUTL.

CHGOBJAUT2 escape messages you can monitor for
----------------------------------------------

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

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

   OBJ           The qualified name of the  object.  The library  value
                 defaults  to *LIBL.   A  specific  library or  *CURLIB
                 may also be used.

   OBJTYPE       The object  type of the object.   Use the prompter for
                 the valid values.


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

You  must  have *OBJOPR,  *OBJMGT, *READ,  *UPD,  *ADD, *DLT  and *EXEC
authority to the object.

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

The following TAA Tools must be on your system:

     CHGOBJAUT       Change object authority
     CHKOBJ3         Check object 3
     RSNLSTMSG       Resend last message
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   CHGOBJAUT2    *CMD                   TAASEIO       QATTCMD
   TAASEIOC      *PGM       CLP         TAASEIOC      QATTCL
					

Added to TAA Productivity tools October 15, 2010


Home Page Up to Top