TAA Tools
PRTJRNANLI      PRINT JOURNAL ANALYSIS IFS             TAAJROI

The Print Journal  Analysis IFS command  analyzes the IFS  Journal Code
entries (JOCODE  = B).  You  must first create an  OUTFILE using DSPJRN
with  a  *TYPE1 format.   Only  the B  journal  codes are  selected and
sorted.  You may  cause a control break  on the object, program  within
object, or user within program within object.

A typical series of commands would be:

             DSPJRN        JRN(xxx) OUTPUT(*OUTFILE)
                             OUTFILE(QTEMP/JRNOUTP)
             PRTJRNANLI    OUTFILE(QTEMP/JRNOUTP)

The default  is to  summarize by  object (one line  per object).   Only
the  Open,  Close,  and  Write entry  types  have  specific  columns of
counts.  Any  other journal codes  are counted as  'other'.  A  summary
of all the B journal codes is provided at the end.

The journal entry  does not contain the  IFS path.  The  system assigns
a  FILEID to  each object in  the IFS.   The  FILEID is written  to the
journal in place of  the object and  library name.   The FILEID for  an
IFS object may  be displayed using  WRKLNK and option 8  for Attributes
(see the 3rd screen).

PRTJRNANLI retrieves  the path name  based on the FILEID  and prints it
instead  of the  FILEID.   If the  user running  PRTJRNANLI has  a home
directory specified  in his  profile, the  path name  printed will  not
describe the full path.

Only  75 positions  of  a path  name will  appear.   It  the  path name
exceeds  75 bytes,  the description  appears with a  leading 3  dots, a
blank, and the last 71 bytes of the path.

If the IFS object was  deleted after journal entries were created,  the
path name is not  known.  A summary of these missing  objects occurs in
the listing.

PRTJRNANLI escape messages you can monitor for
----------------------------------------------

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

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

   OUTFILE       The  qualified name of  the file that  was output from
                 DSPJRN.   OUTFILFMT(*TYPE1) must  be specified.    The
                 default is JRNOUTP.

                 The library qualifier  defaults to *LIBL.   *CURLIB or
                 a specific library name may also be entered.

   TYPE          The  type of  summary  to be  provided.   *OBJ  is the
                 default  causing  one  line  to  be  output  for  each
                 unique IFS object that was journaled.

                 *PGM may  be  specified to  cause  a summary  line  by
                 program within each object.

                 *USER  may be  specified to  cause a  summary  by user
                 within program within each object.

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

None.

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

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     EDTVAR          Edit variable
     PRTJRNCDE       Print journal codes
     RTVFMT          Retrieve format
     RTVIFSPATH      Retrieve IFS path
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDDIAGMSG      Send diagnostic message
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message
     SORTDBF         Sort data base file

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

None, the tool is ready to use.

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

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

   PRTJRNANLI    *CMD                   TAAJROI       QATTCMD
   TAAJROIC      *PGM       CLP         TAAJROIC      QATTCL
   TAAJROIC2     *PGM       CLP         TAAJROIC2     QATTCL
   TAAJROIR      *PGM       RPG         TAAJROIR      QATTRPG
					

Added to TAA Productivity tools July 15, 2003


Home Page Up to Top