TAA Tools
ENAGRPPRF       ENABLE GROUP PROFILE                   TAASEGU

The Enable Group  Profile command ensures  that all members of  a group
profile are  enabled.  The  companion command is  Disable Group Profile
which  ensures that all  members of a  group profile are  disabled.  An
option  exists  to   determine  if  the  users   who  are  part  of   a
supplemental group  profile should be  enabled/disabled.  No  change to
the status of the named group profile occurs.

You  must  have  all rights  to  the specified  group  profile  and the
special authority  *SECADM.   If you  are not  authorized  to change  a
profile, the command  will continue thru the entire group  and list the
errors.

Typical commands would be:

             ENAGRPPRF   GRPPRF(xxx)
             DSAGRPPRF   GRPPRF(xxx)

Any  members of the group  profile that are named  as the primary group
profile (CHGUSRPRF  GRPPRF keyword)  or by  default as  a  supplemental
group profile  (CHGUSRPRF  SUPGRPPRF keyword)  would be  ensured to  be
enabled or disabled.

The QSECOFR user profile may not be disabled.

ENAGRPPRF escape messages you can monitor for
---------------------------------------------

      TAA9891    The user profile is not a group profile.

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

DSAGRPPRF escape messages you can monitor for
---------------------------------------------

      TAA9891    The user profile is not a group profile.

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

ENAGRPPRF command parameters                          *CMD
----------------------------

   GRPPRF        The  name of  the group  profile  to have  its members
                 enabled.

   SUPGRP        A  *YES/*NO parameter  for whether the  user should be
                 enabled   if  named   in   the   CHGUSRPRF   SUPGRPPRF
                 parameter.    User  profiles  named in  the  CHGUSRPRF
                 GRPPRF parameter are always enabled.

                 *YES  is the  default  to enable  the user  profile if
                 named  for   a  group   by  the   supplemental   group
                 parameter.

                 *NO  may be  specified  to  ignore any  user  profiles
                 that are  named for a group  by the supplemental group
                 parameter.

DSAGRPPRF command parameters                          *CMD
----------------------------

   GRPPRF        The name  of the  group profile  to have  its  members
                 disabled.

   SUPGRP        A *YES/*NO  parameter for whether  the user  should be
                 disabled   if   named  in   the   CHGUSRPRF  SUPGRPPRF
                 parameter.    User  profiles  named  in  the CHGUSRPRF
                 GRPPRF parameter are always disabled.

                 *YES is  the default to  disable the  user profile  if
                 named   for  a   group  by   the  supplemental   group
                 parameter.

                 *NO  may  be  specified to  ignore  any  user profiles
                 that are named for a  group by the supplemental  group
                 parameter.

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

None.

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

The following TAA Tools must be on your system:

     CHKGRPPRF       Check group profile
     CHKSECADM       Check *SECADM special authority
     DSPGRPPRF       Display group profile
     EDTVAR          Edit variable
     RSNALLMSG       Resend all message
     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
   ------        ----    ---------      ----------    ----------

   ENAUSRPRF     *CMD                   TAASEGU       QATTCMD
   DSAUSRPRF     *CMD                   TAASEGU2      QATTCMD
   TAASEGUC      *PGM       CLP         TAASEGUC      QATTCL
   TAASEGUC2     *PGM       CLP         TAASEGUC2     QATTCL

Structure
---------

ENAUSRPRF   Cmd
   TAASEGUC   CL pgm

DSAUSRPRF   Cmd
   TAASEGUC2  CL pgm
					

Added to TAA Productivity tools March 26, 2007


Home Page Up to Top