The USERMOD sample for the TDP User Transaction Collection Exit (TDPUTCE) is TDU0006 in dbcpfx.SAMPLIB.
TDPUTCE is a routine that examines each request sent to TDP and each response leaving TDP.
The parameter list supplied to this routine contains request and response data, some timing and accounting information, and application identification information.
TDPUTCE is supplied with the information that has been returned to the requester.
TDPUTCE runs under a TDP subtask, in system key and supervisor state. To use TDPUTCE, enable and modify it according to your local requirements.
For more information on using and customizing TDPUTCE, see Teradata® Director Program Reference, B035-2416.