TAA Tools
RVKOBJPGP       REVOKE OBJECT PRIMARY GROUP PROFILE    TAASEIL

The  Revoke  Object   Primary  Group  Profile  command  sets   the  PGP
attribute of  one or more objects  to *NONE.  The PGP  attribute is set
by   the  CHGOBJPGP  command.    The   default  for  RVKOBJPGP  is  for
ACTION(*CHECK)  which causes  a  listing  of  what  would  be  changed.
ACTION(*REVOKE)  should be specified  to revoke  the attribute  (set it
to *NONE).

To rename the primary group profile, see the RNMOBJPGP command.

You must have *ALLOBJ special authority to use RVKOBJPGP.

A typical command would be:

             RVKOBJPGP  OBJ(xxx/*ALL) USRPRF(aaa)

All  objects in the  named library that  have the PGP  attribute set to
the user profile name would  be listed.  Because ACTION(*CHECK) is  the
default, no changes would occur.

If ACTION(*REVOKE)  had been  specified, the  same listing  would occur
and the objects would have the PGP attribute set to *NONE.

Accessing primary group profile objects
---------------------------------------

The  DSPUSRPRF OUTFILE  function for  TYPE(*OBJPGP)  is used  to access
the objects.    This  does  not  include the  IFS  objects.    See  the
RVKIFSPGP command for similar handling of IFS objects.

RVKOBJPGP escape messages you can monitor for
----------------------------------------------

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

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

   USRPRF        The  user profile  that  is  the named  Primary  Group
                 Profile of the objects to be checked or changed.

   OBJ           The  qualified name  of the  object  or objects.   The
                 object  name defaults to *ALL.   A generic or specific
                 object name may  also be entered.   The library  value
                 defaults  to *ALL.   A  specific library  may  also be
                 named.

   OBJTYPE       The  object  type  of the  objects  to  be  checked or
                 changed.  Use the  prompter for the supported  values.

   ACTION        The action to be taken.

                 *CHECK  is the  default which  produces  a listing  of
                 the  objects  that would  be  changed  if *REVOKE  had
                 been specified.

                 *REVOKE may be specified to  set the attribute of  the
                 listed objects to *NONE.

   OUTPUT        How  to output  the  results.   *  is the  default  to
                 display  the spooled  file if  the command  is entered
                 interactively.   The spooled file  is deleted after it
                 is displayed.

                 If the  command  is  entered  in batch  or  *PRINT  is
                 specified,  the spooled file  is output  and retained.


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

You must have *ALLOBJ special authority to use RVKOBJPGP.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKGENERC       Check generic
     RSNLSTMSG       Resend last message
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information

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

None, the tool is ready to use.

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

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

   RVKOBJPGP     *CMD                   TAASEIL       QATTCMD
   TAASEILC      *PGM       CLP         TAASEILC      QATTCL
   TAASEILC2     *PGM       CLP         TAASEILC2     QATTCL
   TAASEILR      *PGM       RPG         TAASEILR      QATTRPG
					

Added to TAA Productivity tools July 15, 2010


Home Page Up to Top