TAA Tools
DLTDLUSPLF      DELETE DELETED USER SPOOLED FILES      TAASPOK

The  Delete Deleted  User  Spooled  Files  command checks  all  spooled
files  on the system  to determine if  the user  still exists.   If the
user  does  not  exist,  an  action  parameter  determines  whether the
spooled file is  listed or  listed/deleted.  This  allows a cleanup  of
when a user profile is deleted that owns one or more spooled files.

You must have both *ALLOBJ and *SPLCTL to use DLTDLUSPLF.

Because the  command must access every  spooled file on  the system, it
is a slow runner and should be submitted to batch.

A typical command to be submitted would be:

         DLTDLUSPLF

Since  ACTION(*CHECK) is the  default, only a listing  would be output.
If  ACTION(*DELETE) had  been  specified,  any  spooled  files  on  the
listing would be deleted.

If only  a few user names  appear in the listing  after ACTION(*CHECK),
you  may prefer to use  DLTUSRSPLF to delete their  spooled files as it
runs quickly rather than use DLTDLUSPLF ACTION(*DELETE).

DLTDLUSPLF escape messages you can monitor for
----------------------------------------------

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

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

   ACTION        The type of action to be performed.

                 *CHECK is the  default which will  print a listing  of
                 the   spooled  files   that   would  be   deleted   if
                 ACTION(*DELETE) had been specified.

                 *DELETE may  be entered to cause the  spooled files to
                 be deleted.

   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.

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

You must have both *ALLOBJ and *SPLCTL to use DLTDLUSPLF.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTDAT          Convert date
     CVTOUTQ         Convert output queue
     EDTVAR          Edit variable
     RTVSPCAUT       Retrieve special authority
     RTVSYSVAL3      Retrieve system value 3
     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
   ------        ----    ---------      ----------    ----------

   DLTDLUSPLF    *CMD                   TAASPOK       QATTCMD
   TAASPOKC      *PGM       CLP         TAASPOKC      QATTCL
   TAASPOKC2     *PGM       CLP         TAASPOKC2     QATTCL
   TAASPOKR      *PGM       RPG         TAASPOKR      QATTRPG
					

Added to TAA Productivity tools March 21, 2008


Home Page Up to Top