TAA Tools
PRTSAVAUD       PRINT SAVE AUDIT                       TAASAWD

The Print Save  Audit command is intended  to provide a listing  for an
auditor   after  a  significant   save  has   occurred  such   as  some
combination  of  SAVSECDTA,  SAVCFG,  SAVLIB, and  SAV.    The critical
messages from the job log are  printed to a listing.  An  option exists
to  print the  QSYS  data area  information  instead and  one line  per
library with save date/time.

A  typical  series of  commands  would be  to print  messages  from the
current job would be:

             SAVCFG        ...
             SAVSECDTA     ...
             SAVLIB        LIB(*ALLUSR)
             SAV           ...
             PRTSAVAUD     TYPE(*JOB)

The SAVAUD spooled file would be output.

PRTSAVAUD may  also be  used to  print the  save date/time  information
from the  QSYS data areas  that are updated  by the system  for various
functions such as SAVCFG.

             PRTSAVAUD     TYPE(*DTAARA)

The  SAVAUD spooled  file would be  output.   An option exists  to flag
those libraries that have not been saved as of a specified date.

PRTSAVAUD escape messages you can monitor for
---------------------------------------------

None.  Escape messages from based on functions will be re-sent.

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

   TYPE          The type of processing to be performed.

                 *JOB  may  be  specified   to  print  important   save
                 messages from the  current job such as  the completion
                 message from SAVCFG or SAVSECDTA.

                 *DTAARA may  be specified to print  the save date/time
                 information  from the data areas  in QSYS that are set
                 by the system  when an important  save occurs such  as
                 SAVCFG or  SAVSECDTA.  One  line per library  with the
                 last save date and time is also printed.

   LIBMSG        A   *YES/*NO   option  for   whether   to   print  the
                 individual  library   messages   from  a   SAVLIB   of
                 multiple libraries.

                 *YES is  the default  to list  the individual  library
                 messages.

                 *NO   may  be  specified  to   bypass  the  individual
                 library messages.

   FLAGDATE      Whether to  flag  the  libraries that  have  not  been
                 saved  since a  specific date.    Libraries that  have
                 never been saved are always flagged.

                 *NONE is  the default to not flag  the libraries based
                 on the save date of the library.

                 A  date may  be entered  in job  format to  flag those
                 libraries that  have  not been  saved since  the  date
                 specified.    Note  that   the  time  of  day  is  not
                 considered.

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

None.

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

The following TAA Tools must be on your system:

     CVTDAT13        Convert date 13
     CVTJOBLOG       Convert job log
     CVTTIM          Convert time
     RTVDAT          Retrieve date
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   PRTSAVAUD     *CMD                   TAASAWD       QATTCMD
   TAASAWDC      *PGM       CLP         TAASAWDC      QATTCL
   TAASAWDC2     *PGM       CLP         TAASAWDC2     QATTCL
   TAASAWDC3     *PGM       CLP         TAASAWDC3     QATTCL
   TAASAWDR      *PGM       RPG         TAASAWDR      QATTRPG
   TAASAWDR2     *PGM       RPG         TAASAWDR2     QATTRPG

Structure
---------

PRTSAVAUD
  TAASAWDC    CL Pgm   - Main program and converts job log
    TAASAWDR    RPG  Pgm   - Processes job log
  TAASAWDC2   CL Pgm   - TYPE(*DTAARA)
    TAASAWDR2   RPG  Pgm   - Processes data areas and libraries
      TAASAWDC3   CL Pgm      - Converts date/time for libraries
					

Added to TAA Productivity tools January 1, 2007


Home Page Up to Top