PRTJRNANL PRINT JOURNAL ANALYSIS TAAJRNB
The Print Journal Analysis command analyzes the output from the
DSPJRN command and prints a summary of the activity by member for the
types of journal entries. An option is provided to print at a user
or program level also. A summary of the other journal entries found
Prior to executing the command, you must use the DSPJRN command to
extract the journal entries from the journal and place them in an
output file. The PRTJRNANL command defaults the name of the input
file to JRNOUTP. Therefore, you would normally request this as the
output file name on DSPJRN. The typical DSPJRN command for this
DSPJRN JRN(xxxx) ENTDTALEN(xxx) OUTPUT(*NONE)
The ENTDTALEN value must be 1 or greater. The ENTDTALEN field is not
used by the PRTJRNANL command.
The typical PRTJRNANL command would appear as follows:
PRTJRNANL OUTFILE(yyy/JRNOUTP) TYPE(*PGM)
The journal entries are always sequenced in the order of:
Object - High order
Only the journal entries for open, close and the record types of add,
update and delete are analyzed.
The PRTJRNANL TYPE parameter allows you to specify different levels
*PGM Total by program
*MBR Total by member and program
*USER Total by user, program and member
Command parameters *CMD
OUTFILE The name of the file output by the DSPJRN command.
The default is JRNOUTP.
TYPE The type of listing to be output. The default is
*MBR meaning there will be one line printed per
member. *PGM may be specified meaning there will be
one line per program within member. *USER may be
specified meaning there will be one line per user
within program within member.
PRTFILE The qualified name of the printer file to be used.
The default is QPRINT in *LIBL. The spooled file
name is always the name of the file specified in the
The following TAA Tools must be on your system:
QRYF Query file
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
None, the tool is ready to use.
Objects used by the tool
Object Type Attribute Src member Src file
------ ----- --------- ---------- -----------
PRTJRNANL *CMD TAAJRNB QATTCMD
TAAJRNBC *PGM CLP TAAJRNBC QATTCL
TAAJRNBR *PGM RPG TAAJRNBC QATTRPG
Added to TAA Productivity tools April 1, 1995