TAA Tools

The  Display  Spooled File  4  command  is  designed to  be  used  with
WRKALLSPLF.   It allows  the spooled  file to  be displayed and  then a
prompt   appears  which  allows  a   response  of  retain,  delete,  or
re-display.  This  allows the  user to request  to see several  spooled
files and delete  those required without returning to  the main display
and attempting to remember which spooled files to delete.

A  normal situation  is  to want  to review  several spooled  files and
delete some  of  them.   Using  a series  of  '5' options  allows  each
spooled file  to be  displayed, but  you must  remember which ones  you
want  to delete.   Using DSPSPLF4 from  WRKALLSPLF allows you  to enter
an series of options followed by the  Enter key.  After a spooled  file
is  displayed, a  prompt appears  for  whether you  want  to retain  or
delete the spooled file.

The   command  may  also   be  entered   directly  rather   than  using

             DSPSPLF4      FILE(xxx)

After  the  spooled  file was  displayed,  a prompt  would  appear with
options to Retain, Delete, or Re-display.

If the  spooled  file was  deleted,  the command  ends  with an  escape
message (TAA9893) to  allow a user program to  determine if the spooled
file still exists.

DSPSPLF4 escape messages you can monitor for

      TAA9893    The spooled file was deleted.

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

Command parameters                                    *CMD

   FILE          The spooled file to display the data for.

   JOB           The  qualified job  name of  the job with  the spooled
                 file.  The default is * meaning the current job.

   SPLNBR        The file number  of the spooled  file.  This  defaults
                 to  *ONLY.    *LAST  or   a  specific  number  may  be


*JOBCTL  authority is required to  use DSPSPLF4 on a  spooled file that
is not owned by the current user.


The following TAA Tools must be on your system:

     CHKSPLF         Check spooled file
     CVTSPLNBR       Convert spooled number
     PMTOPR          Prompt operator
     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

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

   DSPSPLF4      *CMD                   TAASPMX       QATTCMD
   TAASPMXC      *PGM       CLP         TAASPMXC      QATTCL

Added to TAA Productivity tools December 15, 2000

Home Page Up to Top