TAA Tools

The  Delete User  Profile  3  TAA command  does  more than  the  system
DLTUSRPRF  command by  deleting  spooled files  owned by  the  user and
listing  job descriptions  and job schedule  entries where  the user is
named.  A  'check' option is  the default to allow  you to review  what
will be deleted.

If the  system DLTUSRPRF command is  used, it is  possible that spooled
files,  job  description, and  job  schedule entries  will  still exist
with the  user name.   DLTUSRPRF3 will  allow a  cleanup function  (see
the BYPUSRPRF option).

You must have *ALLOBJ and *SECADM authority to use DLTUSRPRF3.

A typical command would be:


The following listings would be produced.

  **   DSPUSRPRF  TYPE(*ALL).     This  will  list  the   user  profile
       information,  owned objects,  plus authorized  objects, devices,
       and commands.

  **   Directory entries if any.

  **   Owned spooled files.

  **   Job schedule  entries  where  the  user is  named  in  the  USER

  **   Job description  objects where  the user  is named  in the  USER

  **   A summary listing.

Specifying ACTION(*DELETE)  will cause the user profile  to be deleted.
An option exists to determine what should happen to owned objects.

Any  job  schedule  entries  where  the  user  is  named  in  the  USER
parameter are not deleted.

Any  job description  objects  that have  the  user  name in  the  USER
parameter are  not deleted.   You may want  to change the USER  name or
delete the job description.

DLTUSRPRF3  does not  delete the  user profile  name from  user objects
such as data base files.

DLTUSRPRF3 escape messages you can monitor for

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

DLTUSRPRF3 Command parameters                         *CMD

   USRPRF        The user profile to be considered.

   ACTION        The action to be performed.

                 *CHECK is  the default  which will  produce  listings,
                 but not delete anything.

                 *DELETE may be  specified to delete the  user profile,
                 directory  entries,   authorizations,  owned  objects,
                 and spooled files owned by the user.

   BYPUSRPRF     Whether to  bypass  the  user  profile  object.    The
                 system  DLTUSRPRF  command  does  not  check  for  the
                 owner of  spooled files, or names  within job schedule
                 entries  or job descriptions.   Consequently, the user
                 profile can  be deleted  while the  name still  exists
                 in other system objects.

                 *NO  is the  default  which ensures  the user  profile

                 *YES  may be specified  to bypass the  user profile if
                 it does not exist.

   OWNOBJ        The action  to  take for  objects  owned by  the  user

                 *NONE is  the default  meaning the  command will  fail
                 if the user owns objects.

                 *DELETE   may  be   specified  to  delete   the  owned

                 A user profile  name may  be entered  to transfer  the
                 ownership to.

   OUTPUT        How  to output  the  results.   *  is the  default  to
                 display  the spooled  file if  the command  is entered
                 interactively.   The spooled file  is deleted after it
                 is displayed.

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


You   must  have   *ALLOBJ  and   *SECADM  special  authority   to  use


The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKSECADM       Check *SECADM special authority
     CVTJOBD         Convert job descriptions to an outfile
     CVTJOBSCDE      Convert job scheduled entries to an outfile
     DLTUSRSPLF      Delete user spooled files
     EDTVAR          Edit variable
     PRINT           Print command
     RSNALLMSG       Resend all messages
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

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

   DLTUSRPRF3    *CMD                   TAASEHK       QATTCMD
   TAASEHKC      *PGM       CLP         TAASEHKC      QATTCL
   TAASEHKC2     *PGM       CLP         TAASEHKC2     QATTCL
   TAASEHKC3     *PGM       CLP         TAASEHKC3     QATTCL
   TAASEHKC4     *PGM       CLP         TAASEHKC4     QATTCL
   TAASEHKR      *PGM       RPG         TAAMBRIR      QATTRPG


   TAASEHKC   CL pgm
     TAASEHKC2  CL Pgm - Job schedule entries
     TAASEHKC3  CL Pgm - Job descriptions
     TAASEHKC4  CL Pgm - Directory entries

Added to TAA Productivity tools May 15, 2008

Home Page Up to Top