TAA Tools
DUPJOBSPLF      DUPLICATE JOB SPOOLED FILE             TAASPOG

The Duplicate  Job Spooled  File command  duplicates the spooled  files
for  the current  job  to a  different  output queue  with  a different
owner.   This allows  a tool like  Spool Archive (SPLARC)  to back up a
job's spooled  files  even  if the  owner  deletes  them when  the  job
completes.

A typical command would be:

             DUPJOBSPLF    OUTQ(xxx) OWNER(yyy)

The  spooled files  for  the current  job  would be  duplicated to  the
specified  output  queue and  the  owner would  be changed  to  the new
name.

DUPJOBSPLF escape messages you can monitor for
----------------------------------------------

      TAA9894    No spooled files exist in a non-OPN status

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

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

   TOOUTQ        The qualified name  of the  output queue to  duplicate
                 the spooled files  to.  The library  value defaults to
                 *LIBL.  *CURLIB may also be used.

                 It  is not an error  to duplicate the  spooled file to
                 the same  output  queue  as  the  spooled  file  being
                 duplicated.  The  more normal case is to  duplicate to
                 a different output queue.

   OWNER         The  owner of the  new spooled  file.  The  default is
                 *SAME meaning the same owner.

                 If   *SAME  is  specified,  the   job  number  of  the
                 duplicated  spooled  file will  be  the  same  as  the
                 current spooled file.

                 If  a  different  owner  is  named,  a  different  job
                 number  is assigned for the  duplicated spooled files.

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

None.

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

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     CVTJOBSPLF      Convert job spooled file
     DUPSPLF         Duplicate spooled file
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     SNDCOMPMSG      Send completion message
     SNDDIAGMSG      Send diagnostic 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
   ------        ----    ---------      ----------    ----------

   DUPJOBSPLF    *CMD                   TAASPOG       QATTCMD
   TAASPOGC      *PGM       CLP         TAASPOGC      QATTCL
					

Added to TAA Productivity tools January 1, 2007


Home Page Up to Top