PRTSAVSTS PRINT SAVE STATUS TAALIBD
The PRTSAVSTS command is intended to be run following a save of
multiple libraries. One to 300 libraries or *ALL libraries may be
specified. One line per library is output which describes the
library name, save date, save command and the volumes the library was
saved on. If your SAVLIB commands are executed from CL programs, the
PRTSAVSTS command could be included in the program with the same set
of libraries as specified on the SAVLIB command.
The printed output should be kept offline so that if a restore is
necessary, an external description exists of what libraries were
saved and what volumes were used.
If a SAVLIB *NONSYS occurred, a total restore can occur with the
corresponding RSTLIB *NONSYS. If your backup strategy does not
utilize SAVLIB *NONSYS or you will be restoring with other than a
RSTLIB *NONSYS, then you can only specify one library for each use of
the RSTLIB command. The output of the PRTSAVSTS command can be
useful in determining which libraries exist and which media to mount
to perform the restore (See also the TAA Tool RSTALLCHG which avoids
Assume multiple libraries are saved by a single SAVLIB command and
result in output of volumes A, B and C. If the library you want to
restore is on volume B, you need only mount volume B and issue the
RSTLIB command. The Restore command will search the volume for the
desired library. The PRTSAVSTS command helps you identify the
libraries and the volumes to use.
Command parameters *CMD
LIBS Enter 1 - 300 library names (or generic names) or
the special value *ALL. You must be authorized to
the TAADSPADP authorization list to specify *ALL.
PRTFILE The qualified name of the printer file to be used.
The default is QPRINT in *LIBL. The spooled file
name is always QPRINT.
The following TAA Tools must be on your system:
CHKGENERC Check generic
DSPOBJDA DSPOBJD with adopt (part of DSPADP tool)
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
SNDESCMSG Send escape message
SNDDIAGMSG Send diagnostic message
The tool is ready to use, but the user must be authorized to the
TAADSPADP authorization list. For example,
ADDAUTLE AUTL(TAADSPADP) USER(xxx) AUT(*USE)
Objects used by the tool
Object Type Attribute Src member Src file
------ ----- --------- ---------- -----------
PRTSAVSTS *CMD TAALIBD QATTCMD
TAALIBDC *PGM CLP TAALIBDC QATTCL
TAALIBDR *PGM RPG TAALIBDR QATTRPG
Added to TAA Productivity tools April 1, 1995