TAA Tools
CHKALLOBJO      CHECK *ALLOBJ OWNER                    TAAOBLP

The  Check *ALLOBJ  Owner command  checks  the owner  of  an object  to
ensure he  has *ALLOBJ special authority.  For  example, if a user with
*ALLOBJ  authority creates a program  with USRPRF(*OWNER), but the user
is part of  a group that  does not have *ALLOBJ  and the group  profile
becomes the  owner, the  program will not  run with  *ALLOBJ authority.
CHKALLOBJO  can  be used  as  part of  the  create step  to  ensure the
proper create of a program.

You must have *ALLOBJ special authority to use CHKALLOBJO.

A typical series of commands would be:

             CRTCLPGM   PGM(xxx/ABC) USRPRF(*OWNER)
             CHKALLOBJO OBJ(xxx/ABC) OBJTYPE(*PGM)

If the ownership has been  changed by the group profile owner  function
to a  user who does not  have *ALLOBJ special authority,  TAA9891 would
be sent as an escape message.

CHKALLOBJO escape messages you can monitor for
----------------------------------------------

      TAA9891    The owner does not have *ALLOBJ special authority

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

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

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

   OBJTYPE       The object  type of  the object  to be  checked.   Use
                 the prompter to see the valid values.


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

You must have *ALLOBJ special authority to use CHKALLOBJO.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKOBJ3         Check object 3
     RSNLSTMSG       Resend last message
     RTVSPCAUT       Retrieve special authority
     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
   ------        ----    ---------      ----------    ----------

   CHKALLOBJO    *CMD                   TAAOBLP       QATTCMD
   TAAOBLPC      *PGM       CLP         TAAOBLPC      QATTCL
					

Added to TAA Productivity tools January 15, 2009


Home Page Up to Top