ADDSPCAUT       ADD SPECIAL AUTHORITY                  TAASEGO

 The Add  Special Authority  command allows  the addition  of a  special
 authority to  one or more profiles.   This is a  simpler interface than
 CHGUSRPRF  which  requires an  entry  for any  existing  authorities as
 well as  the  new  special authority.    A  RMVSPCAUT command  is  also
 provided to remove a special authority from one or more profiles.

 You  must have  all  special  authorities to  use  either ADDSPCAUT  or
 RMVSPCAUT.

 A typical ADD command would be:

              ADDSPCAUT    SPCAUT(*JOBCTL) USRPRF(xxx yyy)

 An  error will occur  if the  user profile does  not exist  or the user
 already has the special authority.

 A typical RMV command would be:

              RMVSPCAUT    SPCAUT(*JOBCTL) USRPRF(xxx yyy)

 An error will  occur if  the user profile  does not exist  or the  user
 does not have the special authority.

 ADDSPCAUT escape messages you can monitor for
 ----------------------------------------------

       TAA9891    Some error occurred.  See previous messages.

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

 RMVSPCAUT escape messages you can monitor for
 ----------------------------------------------

       TAA9891    Some error occurred.  See previous messages.

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

 ADDSPCAUT Command parameters                          *CMD
 ----------------------------

    SPCAUT        The special  authority to be  added.  See  the command
                  prompt for the valid special authorities.

    USRPRF        A list  of up to 300 user  profiles to add the special
                  authority to.

 RMVSPCAUT Command parameters                          *CMD
 ----------------------------

    SPCAUT        The  special  authority  to  be  removed.    See   the
                  command prompt for the valid special authorities.

    USRPRF        A  list of  up  to 300  user  profiles to  remove  the
                  special authority from.

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

 You  must  have all  special  authorities to  use  either ADDSPCAUT  or
 RMVSPCAUT.

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

 The following TAA Tools must be on your system:

      EDTVAR          Edit variable
      EXTLST          Extract list
      RSNLSTMSG       Resend last message
      RTVSPCAUT       Retrieve special authority
      SCNVAR          Scan variable
      SNDCOMPMSG      Send completion message
      SNDDIAGMSG      Send diagnostic 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
    ------        ----    ---------      ----------    ----------

    ADDSPCAUT     *CMD                   TAASEGO       QATTCMD
    RMVSPCAUT     *CMD                   TAASEGO2      QATTCMD
    TAASEGOC      *PGM       CLP         TAASEGOC      QATTCL
    TAASEGOC2     *PGM       CLP         TAASEGOC2     QATTCL

 Structure
 ---------

 ADDSPCAUT   Cmd
    TAASEGOC   CL pgm

 RMVSPCAUT   Cmd
    TAASEGOC2   CL pgm

Added to TAA Productivity Tools July 15, 2006


Home Page

Powered by AS/400Powered by AS/400 Last modified on January 12, 2010 © 1995, 2010 - Jim Sloan, Inc.