When you choose to report the statistics of the metrics that have been collecting (options 4–7), you then provide information about how you want the routine to report the statistics.
Depending on which type of report you choose, you select how you want to display the information:
-
If you choose the detail or summary report, you can also choose if you want to include a coverage analysis for the lines executed in each routine you select. For example:
Enter the number of your choice: 4
Include Coverage Analysis summary (Y/N)? y
-
Next, for all but the summary report, select one or more routines from the list of monitored routines that have statistics available; enter an asterisk (*) for all available routines. For example:
The following routines have been executed during the run,
and have detail statistics available for them.
1) JRNDUMP
2) JRNOPTS
3) JRNSTART
4) JRNSWTCH
5) JRNUTIL
6) JRNUTIL2
Enter list of routines, or * for all
Routine number (*=All)? * - All
-
If you are entering routine names, after entering the last routine, press Enter again to end the list. For example:
Enter list of routines, or * for all
Routine number (*=All)? 1 - JRNDUMP
Routine number (*=All)? 2 - JRNOPTS
Routine number (*=All)? 5 - JRNUTIL
Routine number (*=All)?
FileName:
-
You can enter a file name or a full directory path for the output. You can instead enter nothing and press Enter to display the report on your terminal.
If you enter a file name but not a path, %SYS.MONLBL creates the file in the directory of the current namespace’s default database for globals. For example, if running %SYS.MONLBL in the USER namespace:
FileName: monlbl_JRN_dtl.txt
Creates a file for the report in install-dir\mgr\user named monlbl_JRN_dtl.txt.
-
Press Enter to initiate the reporting of the metrics you are collecting in the format you have chosen.