Example of thread history parameters
This code sample shows the thread history parameters fully configured.
Thread history parameters
* *******************************************************************
*
* OMEGAMON for DB2 PE Thread history data collector options for
* Classic & OMEGAMON enhanced 3270 user interface (TOM) thread history
* Notes:
* 1. OMEGAMON enhanced 3270UI thread history applies to V5.3.0 and
* higher versions only.
* Your OMEGAMON for DB2 PE/PM version installed is:
* - FMID HKDB530
* 2. COPTDBA9 NTH collector options only apply if the NTH enablement
* flag is set (KD2_PFnn_HIS_START = "Y")
* Your NTH enablement flag is set to:
* - KD2_PF01_HIS_START = "Y"
* *******************************************************************
*
DB2SYS(DBA9)
*
* For both OMEGAMON enhanced 3270UI and Classic NTH options:
* Note: WRITEOPTION(VSAM,SEQ,THVSAM) options (or a variation of any of
* these NTH storage options) are generated based on your
* KD2_PF01_HIS_STORE setting. If KD2_PF01_HIS_START
* = "N" (NTH collection is not enabled), WRITEOPTION defaults to
* WRITEOPTION(NONE)
WRITEOPTION(VSAM,SEQ,THVSAM)
*
* For OMEGAMON Enhanced 3270UI thread history options:
* THRD* parameters are applicable to V5.3.0 and higher versions.
* Your OMEGAMON for DB2 PE/PM on z/OS version installed is:
* - FMID HKDB530
* *******************************************************************
THRDLOG(7)
THRDDATASET(
D01OMPE.VTS5815.DBA9.RKTH*
)
THRDSQL(YES)
THRDCONT(YES)
THRDSUSP(YES)
THRDSCAN(YES)
THRDSORT(YES)
*
* For both OMEGAMON enhanced 3270UI and Classic NTH options:
ACCTG(1 2 3 7 8 10)
*AUTH()
*PLAN()
*CONN()
*CORR()
*ORIGAUTH()
*
* For Classic NTH options:
BUFSIZE(2048)
IFIREADTIME(010000)
INTERVAL(15)
NTAINTERVAL(5)
SUSPCOLL(YES)
POSTPCT(70)
*
STATISTICS(YES)
SCAN(NO)
SORT(NO)
*
DYNAMICSQL(NO)
LOCKCONT(NO)
LOCKSUSP(NO)
NEGSQL(NO)
*
* For Classic NTH options:
H2DATASET(
D01OMPE.VTS5815.QA530.DBA9.RKD2VS01
D01OMPE.VTS5815.QA530.DBA9.RKD2VS02
D01OMPE.VTS5815.QA530.DBA9.RKD2VS03
D01OMPE.VTS5815.QA530.DBA9.RKD2VS04
D01OMPE.VTS5815.QA530.DBA9.RKD2VS05
D01OMPE.VTS5815.QA530.DBA9.RKD2VS06
D01OMPE.VTS5815.QA530.DBA9.RKD2VS07
* *******************************************************************
* MEMBER: KD2$PCOP
* Purpose:
* WCONFIG(KD2$PCOP) to identify additional H2DATASET()
* in WKD2PAR(COPT&dbid) OMEGAMON for DB2 Classic NTH history.
* Instructions:
* 1. Add your additional H2DATASET() VSAM entries
* D01OMPE.VTS5815.QA530.DBA9.RKD2VSnn
* (where nn = 08..60)
* if you need more than 7 VSAMs as specified in the PARMGEN LPAR
* RTE WCONFIG(QA530) profile's "KD2_PF01_HIS_LOGn" parameter.
* Note: Do not modify "DBA9" as this imbed will be used for each
* DB2-specific COPT&dbid NTH collector options member.
*
* WCONFIG(KD2$PCOP) is imbedded in the WKD2PRF(COPT&dbid) member
* by $PARSE* "Create runtime members and job" (via spawned job
* KD2JPCR8 job or KD2JPUPC job or standalone xKD2PRF(CRTDB2M*) job)
* Placeholder examples have been provided for modeling. Uncomment
* out the parameter and customize accordingly.
* 2. To allocate the additional RKD2VSnn VSAMs, use the tailored
* HCRV&dbid standalone RKD2VSnn allocation job in the
* RTE's RKD2SAM dataset.
* *******************************************************************
* USER SECTION: IMBED FOR MEMBER WKD2PRF(COPT&dbid)
* *******************************************************************
* ----------------- BEGIN - USER SECTION: OVERRIDE ---------------- *
*D01OMPE.VTS5815.QA530.DBA9.RKD2VS08
*D01OMPE.VTS5815.QA530.DBA9.RKD2VS60
* ----------------- END - USER SECTION: OVERRIDE ---------------- *
)
SEQDATASET(
D01OMPE.VTS5815.QA530.TESTS(+1)
)
SPACE(CYL,10,2)