TRACK (setting trace flags by calling structure)
The TRACK command sets CICSPlex SM trace flags based on the calling structure.
The format of the TRACK command is:
TRACK target relation calling flags id
where
the parameters are:- target
- The name of the method to be traced. You can provide a generic method name by specifying an asterisk (*) at the end of the name or in place of the name (to indicate all methods).
- relation
- The relationship to the calling method as one of the following:
- FROM
- Sets the trace for the target only when the direct caller is the calling method.
- STAK
- Sets the trace for the target only if the calling method is somewhere in the CICSPlex SM stack.
- calling
- The name of the method that calls the target method either directly or indirectly. You can provide a generic method name by specifying an asterisk (*) at the end of the name or in place of the name (to indicate all methods).
- flags
- The trace flags to be set. The trace flags are set according to group names and are dependent on the underlying trace facility. The trace flags will be provided by IBM® support should you need to use this facility.
- id
- An optional user or task ID:
- Uxxxxxxxx
- where xxxxxxxx is a 1-to 8-character user ID.
- Tnnnnnnn
- where nnnnnnn is a 1- to 7-position CICS task number that can be obtained by issuing either the LIST TASK or CEMT INQ TASK command.
For example:
TRACK XD* STAK CI* SPEC
activates
all trace flags for any data repository method that is called directly or
indirectly from any communication initialization method.