RTVSPCAUT    RETRIEVE SPECIAL AUTHORITIES            TAASECE

 The Retrieve Special Authorities  command retrieves a Y or  N value for
 each  of the  special authorities  for a  user  profile.   This differs
 from the RTVUSRPRF command which retrieves a 100 byte string.

 Neither Group Profile adopt nor Program Adopt are considered.

 The QSYRUSRI API is used internally.

 A typical command would be entered as:

       RTVSPCAUT    USER(*CURRENT) SAVSYS(&SAVSYS)
       IF           (&SAVSYS *EQ 'Y') DO ...

 One  or more  of the  special authorities can  be returned  on a single
 command.  Because the  command returns variables, the command  can only
 be run in a CL program.

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

    USER          The  user profile  to  have  it's special  authorities
                  retrieved.  The default is *CURRENT.

    SAVSYS        Does  the special authority *SAVSYS exist.   This is a
                  return  variable  which  must  be  defined  as   *CHAR
                  LEN(1) and will have a value of Y or N.

    JOBCTL        Does the special  authority *JOBCTL exist.   This is a
                  return  variable   which  must  be  defined  as  *CHAR
                  LEN(1) and will have a value of Y or N.

    SECADM        Does the special authority *SECADM  exist.  This is  a
                  return  variable  which  must  be   defined  as  *CHAR
                  LEN(1) and will have a value of Y or N.

    ALLOBJ        Does the  special authority *ALLOBJ exist.   This is a
                  return   variable  which  must  be  defined  as  *CHAR
                  LEN(1) and will have a value of Y or N.

    SERVICE       Does the  special authority *SERVICE  exist.  This  is
                  a  return  variable which  must  be  defined as  *CHAR
                  LEN(1) and will have a value of Y or N.

    SPLCTL        Does  the special authority *SPLCTL exist.   This is a
                  return  variable  which  must  be  defined  as   *CHAR
                  LEN(1) and will have a value of Y or N.

    AUDIT         Does the  special authority *AUDIT  exist.  This  is a
                  return  variable   which  must  be  defined  as  *CHAR
                  LEN(1) and will have a value of Y or N.

    IOSYSCFG      Does the special authority  *IOSYSCFG exist.  This  is
                  a  return variable  which  must  be defined  as  *CHAR
                  LEN(1) and will have a value of Y or N.

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

 None.

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

 None, the tool is ready to use.

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

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

    RTVSPCAUT     *CMD                       TAASECE       QATTCMD
    TAASECEC      *PGM           CLP         TAASECEC      QATTCL

Added to TAA Productivity Tools April 1, 1995


Home Page

Last modified on March 10, 2014 © 1995, 2014 - TAA Tools, Inc.