TAA Tools
RPLPRTF       REPLACE PRINTER FILE                       TAAPRTC

The Replace  Printer File command  re-creates an existing  Printer File
using the parameters that are stored in the object.

The intent  of RPLPRTF is to  provide a simple re-create  when only the
source statements have been changed.

A typical command would be entered as:

       RPLPRTF   FILE(xxxxxx)

RPLPRTF   extracts  the  existing  parameters  from  the  object  (e.g.
SHARE, CPI, OVERFLOW  etc.) and re-creates  the object.   REPLACE(*YES)
is  specified on the  create command  which will  place the  old object
into  the  QRPLOBJ  library  and copy  the  authorizations.    The TEXT
parameter value is taken  from the source  member and not the  existing
object.

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

   FILE          The  qualified  name   of  the  printer  file   to  be
                 replaced.  The library defaults to *LIBL.

   SRCFILE       The  qualified name  of the  source  file to  be used.
                 The default is *OBJD meaning  to use the same file  as
                 is specified  in  the object  description (the  source
                 file originally used).

   SRCMBR        The source  member to be  used.  The  default is *OBJD
                 meaning   to  use   the  same  source   member  as  is
                 specified  in  the  object  description   (the  source
                 member originally used).

   OWNER         Who  should be  the  owner  of the  new  object.   The
                 default  is *SAME, meaning the  same owner will exist.

                 If the  owner  is the  group  profile of  the  current
                 user, OWNER(*SAME) may  be used.  Otherwise,  you must
                 be  the  owner or  have *ALLOBJ  special  authority to
                 use OWNER(*SAME).

                 *NEW may  be  specified to  allow  you to  become  the
                 owner  of the  file.    You  must have  the  *OBJEXIST
                 right to the existing file to specify *NEW.

   DLTSPLF       A  *YES/*NO  parameter for  whether  the spooled  file
                 for  the  compiler listing  should  be deleted  if the
                 create is  successful.   *NO  is default  meaning  the
                 spooled file is always retained.

                 *YES may  be specified to  delete the spooled  file if
                 the create is successful.

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

Most  parameters are supported, but it  is possible that new parameters
have not been  added.  At  least the following  old parameters are  not
supported:

       CHLVAL
       FRONTOVL
       BACKOVL

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

The following TAA Tools must be on your system:

      CHKALLOBJ    Check all object authority
      CVTFRMHEX    Convert from hex
      EDTVAR       Edit variable
      RTVPRTFA     Retrieve display file attributes
      RTVSPLA      Retrieve spooled attributes
      SNDCOMPMSG   Send completion message
      SNDESCMSG    Send escape message
      SNDSTSMSG    Send status message

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

None, the tool is ready to use.

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

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

   RPLPRTF       *CMD                      TAAPRTC        QATTCMD
   TAAPRTCC      *PGM          CLP         TAAPRTCC       QATTCL
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top