TAA Tools
ADDGRPPRF       ADD GROUP PROFILE                      TAASEKU

The Add  Group Profile  command adds  a Group  Profile to  one or  more
user  profiles.   The  Group  Profile  is added  either  as the  GRPPRF
parameter  or  as  a  supplemental  group  (SUPGRPPRF  parameter).    A
listing is output of the  changes and any error conditions such  as the
profile is already specified as belonging to the group.

You  must  have both  *ALLOBJ  and  *SECADM  special authority  to  use
ADDGRPPRF.

A typical command would be:

             ADDGRPPRF  GRPPRF(GROUP1) USRPRF(USER1 USER2 USER3)

The  GROUP1 profile would  be added to  the three profiles.   A listing
would be displayed describing the results.

If USER2 was already specified  as belonging to the group (either  with
the  GRPPRF  or  SUPGRPPRF  parameters),  the  user  profile  would  be
flagged  on the  listing.   If  USER3 already  has a  different profile
specified  for  the  GRPPRF  parameter  and  different  group  profiles
specified for the SUPGRPPRF  parameter, the new group profile  would be
added to the list of supplemental group profiles.

ADDGRPPRF escape messages you can monitor for
---------------------------------------------

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

ADDGRPPRF Command parameters                          *CMD
----------------------------

   GRPPRF        The  user   profile  name  that  will   be  the  group
                 profile.    It  may  or may  not  already  be  a group
                 profile.

   USRPRF        A  list of  up  to  300  user profiles  that  will  be
                 changed  so  they are  members  of  the  group.   This
                 occurs  by either  specifying  the group  profile name
                 for the GRPPRF  parameter or  as a supplemental  group
                 (SUPGRPPRF  parameter).    If   the  user  profile  is
                 already  a member  of the group,  the user  profile is
                 flagged on the listing.

   OUTPUT        How to  output  the results.    * is  the  default  to
                 display the  spooled file  if the  command is  entered
                 interactively.   If the  display is ended  with F3/F12
                 or  the Enter key,  the spooled file  is deleted after
                 it is  displayed.   To  retain the  spooled file,  you
                 may use  the the System Request  'Cancel' function and
                 the spooled file will exist in a HLD status.

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


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

None.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKOBJ3         Check object 3
     CHKSECADM       Check *SECADM special authority
     EXPVAL          Expand value
     EXTLST          Extract list
     RSNLSTMSG       Resend last message
     RTVSYSVAL3      Retrieve system value 3
     SCNVAR          Scan variable
     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
   ------        ----    ---------      ----------    ----------

   ADDGRPPRF     *CMD                   TAASEKU       QATTCMD
   TAASEKUC      *PGM       CLP         TAASEKUC      QATTCL
   TAASEKUR      *PGM       RPG         TAASEKUR      QATTRPG
					

Added to TAA Productivity tools January 15, 2013


Home Page Up to Top