Example DOMBTRC1 JCL
The following examples can help you to update the DOMBTRC1 batch trace JCL.
Examples of step 1 JCL
The following syntax starts a trace for Db2 IFCIDs 6, 7, 8, 9, and 155 on the Collector DOM1. The trace starts immediately after the job starts for a duration of 50 minutes:
//STEP1 EXEC PGM=DOMBTRC1,PARM='TRACEON,DLY9'
//STEPLIB DD DISP=SHR,DSN=BB.XTST28.LINKLIB
//BMCPSWD DD DISP=SHR,DSN=BB.XTST28.PRODPASS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COLLECTOR(DOM1)
INTERVAL (START (-0) FOR (00:50:00) )
IFCID (6,7,8,9,155)
//
The following syntax starts a trace for DB2 IFCIDs 6, 7, 8, 9, and 155 on the Collector DOM1. The trace starts on 05/23/19 at 13:00:00 and ends on 05/23/19 at 15:00:00.
//STEP1 EXEC PGM=DOMBTRC1,PARM='TRACEON,DLY9'
//STEPLIB DD DISP=SHR,DSN=BB.XTST28.LINKLIB
//BMCPSWD DD DISP=SHR,DSN=BB.XTST28.PRODPASS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COLLECTOR(DOM1)
INTERVAL (START(05/23/19,13:00:00) ,END(05/23/19,15:00:00)
IFCID (6,7,8,9,155)
//
Example of step 3 JCL
The following syntax stops the trace that started in step 1 on the Collector DOM1:
//STEP3 EXEC PGM=DOMBTRC1,PARM='TRACEOFF,DLY9'
//STEPLIB DD DISP=SHR,DSN=BB.XTST28.LINKLIB
//BMCPSWD DD DISP=SHR,DSN=BB.XTST28.PRODPASS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COLLECTOR(DOM1)
/*
Example of step 1 JCL using runtime libraries
The following syntax specifies the MainView for DB2 runtime libraries instead of the Data Collector load library:
//STEP1 EXEC PGM=DOMBTRC1,PARM='TRACEON,DLY9'
//STEPLIB DD DISP=SHR,DSN=<hlq>.BBLINK
//DD DISP=SHR,DSN=<hlq>.DBCLINK
//DD DISP=SHR,DSN=<hlq>.DOMLINK
//DD DISP=SHR,DSN=<hlq>.USCLINK
//BMCPSWD DD DISP=SHR,DSN=BB.XTST28.PRODPASS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COLLECTOR(DOM1)
INTERVAL (START (-0) FOR (00:40:00) )
IFCID (6,7,8,9,155)
//
Comments
Log in or register to comment.