TAA Tools
SAVONELIB       SAVE ONE LIBRARY                       TAASAVJ

The Save  One Library command  is a  simple front end  to SAVLIB.   The
intent is  to provide a simple  interface when a library  must be moved
from  one system  to another  or just  a backup  is needed of  a single
library.

A typical command would be entered as:

        SAVONELIB   LIB(xxx)

The device  defaults to  TAP01.  The  SEQ and  CLEAR parameters  exist,
but  the defaults differ  from the  normal SAVLIB  command so  that the
file is written to file 1 and the tape is cleared.

No  device type parameter exists.   The program  first tries the device
as a tape device.   If an error message is  received, it is tried as  a
diskette device.

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

   LIB           The single library to be saved.

   DEV           The device name.  The default is TAP01.

   SEQ           The  tape files  sequence number.   The  default is  1
                 which  differs from the  SAVLIB default.   *END may be
                 specified.

   CLEAR         Whether to  clear the  files on  the volume  beginning
                 at  the  sequence  number  described.    *ALL  is  the
                 default  to clear  all files.   Expiration  dates will
                 not be considered.

                 *NONE  may be specified to  check the expiration dates
                 of any existing files on the media.

                 *AFTER may be specified  to clear all files  after the
                 first  volume.   An inquiry  message occurs  if active
                 files  exist   on  the  first  volume.    For  a  more
                 complete definition, see the SAVLIB command.

                 *REPLACE may  be  specified  to clear  all  files  the
                 same as  *ALL.   For a  more complete definition,  see
                 the SAVLIB command.

   TGTRLS        The  target release.   The default  is *CURRENT.   The
                 special value *PRV  may be entered.   The other  valid
                 values  change   each   release  to   match  what   is
                 supported by  SAVLIB.  Prompt  for the command  to see
                 the other values.

   ACCPTH        Whether  to save access paths or  not.  The default is
                 *SYSVAL which uses  the contents  of the system  value
                 QSAVACCPTH (system default causes *YES).

                 *YES may  be specified  to save access  paths.   A *NO
                 entry does not save the access paths.

   ENDOPT        The  end  of  tape option.    The  default  is *REWIND
                 which is the  same as SAVLIB.   *UNLOAD or *LEAVE  may
                 also be specified.

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

None.

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

The following TAA Tools must be on your system:

          SNDCOMPMSG      Send completion message
          SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   SAVONELIB     *CMD                       TAASAVJ       QATTCMD
   TAASAVJC      *PGM           CLP         TAASAVJC      QATTCL
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top