TAA Tools
DLYRLSSPLF      DELAY RELEASE SPOOLED FILE             TAASPOX

The  Delay  Release  Spooled  File  command  submits  a  batch  job  to
QSYSNOMAX to  run RLSSPLF after a  delay time of a  specified number of
seconds.   This allows a processing  program to perform functions while
the spooled file is the HELD status.

The spooled file must be in the HELD status.

A typical command would be:

             DLYRLSSPLF    SPLF(xxx) DLY(20)

The named  spooled file in  the current  job would be  released by  the
batch job after a wait of 20 seconds.

If  the spooled file  is not  in the  held status  when the  command is
run,  the  TAA9891 escape  message is  sent.   If  the spooled  file is
non-existent or not in  the held status when  the time delay ends,  the
batch job will fail.

DLYRLSSPLF escape messages you can monitor for
----------------------------------------------

      TAA9891    The spooled file is not in the held status
      TAA9892    Multiple jobs exist for the requested job
      TAA9895    The job could not be found
      CPF3C40    The spooled file does not exist

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

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

   SPLF          The spooled file name to be released.

   JOB           The  qualified job  name.   An  * is  the default  and
                 means the current job.

   SPLNBR        The  spooled  file  number.    *ONLY  is the  default.
                 *LAST may  be specified  or  a specific  spooled  file
                 number in the range of 000001 - 999999.

   DLY           The delay  time in  seconds.   The default is  60.   A
                 number in the range of 1 to 99999 may be entered.

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

The spooled file must be in the HELD status.

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

The following TAA Tools must be on your system:

     ADDTIM          Add time
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVJOBSTS       Retrieve job status
     RTVSPLFA2       Retrieve spooled file attributes 2
     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
   ------        ----    ---------      ----------    ----------

   DLYRLSSPLF    *CMD                   TAASPOX       QATTCMD
   TAASPOXC      *PGM       CLP         TAASPOXC      QATTCL
					

Added to TAA Productivity tools July 15, 2009


Home Page Up to Top