P (Print) command
The print job accepts many options to customize the output to your needs.
Only one report can be specified. You can specify these options on the Batch Trace Print dialog as shown in following figure. For an explanation of these options, see the online Help. For instructions on how to create a batch job to produce multiple reports, see Printing-trace-log-data-sets.
COMMAND ===> TIME --- 13:42
Update JCL ==> N (Y/N - update JCL defaults) ( END to edit JCL)
Title line 1 ==>
Title line 2 ==>
Data Selection:
From date ==> 25MAR2009 (DDMMMYYYY) Time ==> 1459 (HHMM)
To date ==> Time ==>
PLAN ==>
AUTHID ==>
CONNECT ==>
CORR ==>
LOC ==>
DB2PKG ==>
Report Selection:
LTRAC ==> YES (YES/NO/CORRID-MVDB2 8.2 and later)
STRAC ==> NO (NO,ALL,SUMMARY,section1,section2..)
DTRAC ==> NO (YES/NO/SQLERR-MVDB2 8.2 and later)
POPUP ==> NO (NO/ALL/SQL/event1,event2,....)
TSUM ==> (A/C/L/P/T/R) SORT ==> (for any TSUMx)
TSTAT ==> ALL (SUMMARY/ALL/NO) INTERVAL ==> 1H (for TSUMT only)
If Update JCL is set to Y, the Batch Trace Print Job Statement dialog is displayed in following figure.
COMMAND ===> TIME --- 12:47
JOB STATEMENT:
===> //HVMFTP1 JOB (3960),H MATSON,CLASS=F,MSGCLASS=R,NOTIFY=&SYSUID
===> //*
===> //*
===> //*
SYSOUT CLASS ===> *
STEPLIB DSN PREFIX ===> DB2XTST4.BBL
The date and time selection fields are primed with the start and end date-time of the trace. All other fields are primed with the default value when first used. These fields are saved in your profile for later redisplay.
When you press Enter, the data is validated (cursory validation only) and redisplayed.
Your selections are saved in your profile and are used to initialize the fields the next time that this dialog is requested.
When you exit this dialog, the specified options are inserted into a pattern job stream by using the ISPF file facility. The skeleton JCL can be found in member DZJPTRAC in the BBPROF data set. This member can be customized to an individual user (UBBPROF data set) or site (SBBPROF data set). The result of this customization is shown in edit mode, allowing you to make any further changes needed.
Related topic