Starting the Db2 traces
You can configure BMC AMI Datastream to start the required traces when BMC AMI Datastream starts and anytime a monitored subsystem is restarted by using the SMF DB2 STArt parameter (see SMF-DB2-statement).
- Advantages—Easy; perfect match between BMC AMI Datastream and Db2.
- Disadvantages—Requires that you specify the SSIDs parameter; all monitored instances of DB2 must be configured for traces identically.
You can enter the Db2 START TRACE command manually or with your console automation system.
- Advantages—Perfect control over which traces are started and when.
- Disadvantages—It requires some effort and coordination. The command is -prefix STA TRA(AU) C(cc) IFCID(n,n,n,…)
- -prefix is the command prefix for the Db2 subsystem
- cc is one of the trace classes 30, 31 or 32
- n,n,n,… is a list of the desired IFCIDs with no intervening spaces
You might also include one or more constraints on the Db2 START TRACE command such as PLAN() or PKGLOC(). See the documentation for the Db2 START TRACE command in the IBM Manual DB2 10 for z/OS Command Reference for more information including the syntax of constraints. Specifying one or more constraints or filters might reduce the amount of trace data collected and hence the overhead of the trace.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*