CHGGRPPRF2 CHANGE GROUP PROFILE 2 TAASEGX |
The Change Group Profile 2 command allows you to change all members
of a group profile for the parameters OWNER, GRPAUT, or GRPAUTTYP.
This provides a simple method of ensuring all members of the group
have the same attributes related to group profile processing.
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.
A typical command would be:
CHGGRPPRF GRPPRF(xxx) OWNER(*GRPPRF)
The members of the group would be changed so that when they created
an object, the owner would be the group profile.
It is not an error to specify a change to a value that already
exists.
Security considerations
-----------------------
The user of the command 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.
The program uses the DSPGRPPRF function to create a list of the
members of the group. The DSPGRPPRF TAASEGWC2 program adopts QSECOFR
authority to allow the DSPUSRPRF outfile to be created followed by
CVTGRPPRF. This program also ensures that you have 'all rights' to
the group profile by using the TAA Tool UNADOPT. The outfile is
written to the TAASECKP file in TAASECURE.
CHGGRPPRF2 escape messages you can monitor for
----------------------------------------------
TAA9891 The user profile is not a group profile.
None. Escape messages from based on functions will be re-sent.
Command parameters *CMD
------------------
GRPPRF The group profile name for which to change the
members of the group.
OWNER The owner of any created objects by the members of
the group.
*SAME is the default meaning no change will occur.
*USRPRF may be specified to make the user profile
the owner of any objects created.
*GRPPRF may be specified to make the group profile
the owner of any objects created.
GRPAUT The authority given to the group profile for any
objects created.
*SAME is the default meaning no change will occur.
*NONE, *ALL, *CHANGE, *USE, or *EXCLUDE may be
specified. For a detail explanation, see the same
parameter on CHGUSRPRF.
GRPAUTTYP *SAME is the default meaning no change will occur.
*PRIVATE or *PGP may be specified. For a detail
explanation, see the same parameter on CHGUSRPRF.
OMITUSR A list of up to 300 members of the group to be
omitted. There is no error if the user profile
named does not exist or is not a member of the
group.
Restrictions
------------
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.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKGRPPRF Check group profile
CVTGRPPRF Convert group profile
DSPGRPPRF Display group profile
EDTVAR Edit variable
EXTLST Extract list
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
------ ---- --------- ---------- ----------
CHGGRPPRF *CMD TAASEGX QATTCMD
TAASEGXC *PGM CLP TAASEGXC QATTCL
|
Added to TAA Productivity tools March 26, 2007