WRKDSAUSR       WORK DISABLED USER                     TAASEGY

 The Work  Disabled User command  provides a work  display of the  users
 with a  *DISABLED status.   An option exists  to enable the  users.  An
 omit  list of profiles  may be specified  which would allow  the use of
 WRKDSAUSR in a  CL program where you  could omit certain profiles  that
 were known to be disabled.

 You  must be  authorized to  the  TAAENAUSR Authorization  List to  use
 WRKDSAUSR.

 A typical command would be:

             WRKDSAUSR

 The DSPUSRPRF  command would be to output a  record for each user.  The
 file would  be read and  a work  display appears  of any  users with  a
 status of *DISABLED.  Option 2 may be used to enable the users.

 The DSPUSRPRF  outfile is  written to the  TAASECKP file  in TAASECURE.
 This is  the same file that is used by  several TAA Tools and counts as
 a refresh of the file.

 WRKDSAUSR escape messages you can monitor for
 ---------------------------------------------

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

 Security considerations
 -----------------------

 The user  of the  command must  have  at least  *USE authority  to  the
 TAAENAUSR Authorization  List.   This  is the  same *AUTL  used by  the
 ENAUSRPRF tool.

 The  program  TAASEGYC2  adopts  the  QSECOFR profile  and  checks  for
 authority  to the TAAENAUSR *AUTL using  the UNADOPT tool.  The program
 does  the DSPUSRPRF  outfile  function,  calls the  processing  program
 TAASEGYR,  and  is called  again  to do  CHGUSRPRF  to  allow the  user
 profile to be disabled.

 Authority is also checked in the TAASEGYR program.

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

    OMITUSR       A  list of up  to 300 users  who will  be omitted from
                  the display.    The purpose  of  the parameter  is  to
                  prevent    clutter   when    certain   profiles    are
                  permanently disabled.

                  If the user is not disabled, no error occurs.

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

 You  must be  authorized  to the  TAAENAUSR Authorization  List  to use
 WRKDSAUSR.

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

 The following TAA Tools must be on your system:

      ADJVAR          Adjust variable
      CVTDAT          Convert date
      EXTLST2         Extract list 2
      FILEFDBCK       File feedback
      HLRMVMSG        HLL Remove message
      RTVSYSVAL3      Retrieve system value 3
      UNADOPT         Unadopt
      SNDESCINF       Send escape information
      SNDESCMSG       Send escape message
      SNDSTSMSG       Send status message

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

 None, the tool is ready to use.

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

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

    WRKDSAUSR     *CMD                   TAASEGY       QATTCMD
    TAASEGYC      *PGM       CLP         TAASEGYC      QATTCL
    TAASEGYC2     *PGM       CLP         TAASEGYC2     QATTCL
    TAASEGYR      *PGM       RPG         TAASEGYR      QATTRPG
    TAASEGYD      *FILE      DSPF        TAASEGYD      QATTDDS

Added to TAA Productivity Tools March 26, 2007


Home Page

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