TAA Tools
CHGOBJAUTL      CHANGE OBJECT AUTHORIZATION LIST       TAASEHE

The   Change   Object   Authorization   List    command   changes   the
authorization  list for  one,  generic, or  all objects  in  a library.
The  authorization  list may  also be  set to  *NONE.   This simplifies
making mass changes.

To use CHGOBJAUTL, you must have:

  **   *AUTLMGT to the authorization list

  **   *ALL rights to the object to be changed

A typical command would be:

             CHGOBJAUTL OBJ(xxx/*ALL) OBJTYPE(*FILE) AUTL(AUTL1)

The file objects  in the named  library would be set  to use the  AUTL1
authorization list.

A  listing  would   be  produced  with  each  object   changed  and  an
indication if an error occurred.

CHGOBJAUTL escape messages you can monitor for
----------------------------------------------

      TAA9891    Some failure occurred.  See listing.

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

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

   OBJ           The  qualified name  of the object  to be  changed.  A
                 single  object,  a  generic  name,  or  *ALL   may  be
                 entered  for  all  objects.    The  library  value  is
                 required.

   OBJTYPE       Either  *ALL  for  all  object  types  or  a  specific
                 object type may be  entered.  Use  the prompter for  a
                 list of the supported object types.

   AUTL          The  authorization list  to  be used.    *NONE may  be
                 specified to  change the objects so that  they are not
                 controlled by an authorization list.

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

None.

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

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     EDTVAR          Edit variable
     PRINT           Print
     RSNLSTMSG       Resend last message
     RTVOBJLST       Retrieve object list
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDLNGMSG       Send long message

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

None, the tool is ready to use.

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

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

   CHGOBJAUTL    *CMD                   TAASEHE       QATTCMD
   TAASEHEC      *PGM       CLP         TAASEHEC      QATTCL
					

Added to TAA Productivity tools September 15, 2007


Home Page Up to Top