TAA Tools
CHGSPLFCPY      CHANGE SPOOLED FILE COPIES             TAASPMT

The Change  Spooled File  Copies command  provides a  simple change  of
the number  of copies for  a spooled file.   A prompt  override program
exists  so  the  user  can  see the  current  value  before  making the
change.  The intent  of the command is to  allow a user who should  not
have  full  CHGSPLFA  function to  be  able  to  change the  number  of
copies.

A typical command would be:

             CHGSPLFCPY  SPLF(xxx) COPIES(3)

The default for the JOB and SPLNBR parameter would be used.

The command can be used in conjunction with the WRKALLSPLF command.

CHGSPLFCPY escape messages you can monitor for
----------------------------------------------

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

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

   FILE          The spooled file to display the attributes 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
                 specified.

   COPIES        The  number  of  copies  that  should  be made.    The
                 default is *SAME.  If a  value is entered, it must  be
                 between 1 and 255.

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

None.

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

The following TAA Tools must be on your system:

     CHKSPLF         Check spooled file
     CVTSPLNBR       Convert spooled file number
     EDTVAR          Edit variable
     RTVSPLFA        Retrieve spooled file attributes
     SNDCOMPMSG      Send completion message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

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

   CHGSPLFCPY    *CMD                   TAASPMT       QATTCMD
   TAASPMTC      *PGM       CLP         TAASPMTC      QATTCL
   TAASPMTC2     *PGM       CLP         TAASPMTC2     QATTCL

The TAASPMTC2 program is used for the Prompt override.
					

Added to TAA Productivity tools September 15, 2000


Home Page Up to Top