TAA Tools
RSTFIL      RESTORE FILE                               TAARSTC

The Restore  File  command is  intended to  be used  in an  environment
where  the users  may only  restore  files (e.g.   data  files)  to the
system.  The files must be restored to the RSTOBJ library.

The  intent is  to allow the  RSTFIL command to  be publicly authorized
so that any  user who is  capable of accessing  the proper devices  can
restore  data.   The data  is always  restored to  the  RSTOBJ library.
The  user must  then  copy the  data to  the appropriate  library using
normal system security.

This allows the  normal use  of restore  to occur in  a secure  manner.
If RST  commands are public, users  who have *SAVSYS  special authority
can  replace any  existing object  on the system.   The  RSTFIL command
prevents this.

When a library  needs to  be restored  with different  object types,  a
solution  would be  to  temporarily  authorize  a user  to  the  RSTLIB
command or control the function so it occurs in a secure manner.

The RSTFIL command  has no parameters.  It  displays the prompt for the
RSTOBJ   command   with   the  following   parameters   pre-filled  and
protected:

        OBJTYPE(*FILE)
        RSTLIB(RSTOBJ)
        SAVF()   - This prevents the restore from a SAVF

Before a user  can use RSTFIL, you  must do the following  as described
in the Implementation section:

  **   Create the RSTOBJ library.

  **   Authorize the user to the TAARSTFIL authorization list.

  **   Consider making  the RST  commands private and  authorizing them
       only to trusted individuals.

Command parameters
------------------

None.

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

None.

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

The  tool  is ready  to  use, but  a  user  must be  authorized  to the
TAARSTFIL authorization  list.   Use either  EDTAUTL  or the  following
command:

      ADDAUTLE   AUTL(TAARSTFIL) USER(xxxx) AUT(*USE)

The RSTFIL command  will only be effective  if you make the  system RST
commands  private and prevent  their use by  the public.   You may want
to authorize the RST commands to trusted individuals.

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

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

   RSTFIL        *CMD                      TAARSTC        QATTCMD
   TAARSTCC      *PGM          CLP         TAARSTCC       QATTCL
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top