TAA Tools
RPLDSPF       REPLACE DISPLAY FILE                       TAADSPF

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

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

A typical command would be entered as:

       RPLDSPF   FILE(xxxxxx)

RPLDSPF   extracts  the  existing  parameters  from  the  object  (e.g.
SHARE, RSTDSP  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  display  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.


Not all  possible parameters  are supported.   Only those  supported by
RTVDSPFA are supported.


The following TAA Tools must be on your system:

      CHKALLOBJ     Check all object authority
      RTVDSPFA      Retrieve display file attributes
      SNDCOMPMSG    Send completion message
      SNDESCMSG     Send escape message
      SNDSTSMSG     Send status message


None, the tool is ready to use.

Objects used by the tool

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

   RPLDSPF       *CMD                      TAADSPF        QATTCMD
   TAADSPFC      *PGM          CLP         TAADSPFC       QATTCL

Added to TAA Productivity tools April 1, 1995

Home Page Up to Top