Is it possible to access the Thread Terminator Log information from a file or register, to generate reports?

book

Article ID: 16312

calendar_today

Updated On:

Products

CA RC/Migrator CA Endevor SCM Interface DB2 Administration CA RC Compare for DB2 for z/OS CA RC Extract for DB2 for z/OS CA RC/Query CA RC Secure for DB2 for z/OS CA RC Update for DB2 for z/OS CA Database Analyzer for DB2 for z/OS CA Fast Unload for DB2 for z/OS CA Fast Check for DB2 for z/OS CA Fast Index for DB2 for z/OS CA Fast Load for DB2 for z/OS CA Rapid Reorg for DB2 for z/OS

Issue/Introduction

This document states whether or not it's possible to access the Thread Terminator Log information from a file or register, to generate reports.



Is it possible to access the Thread Terminator Log information from a file or register, to generate reports?

Environment

z/OS 1.11 and above.

Resolution

The PTT Log is the only place that cancelled thread information is written to (unless the thread is cancelled using the PTTBATCH job. In that case, it's also written to the Thread Termination Report). 

Possible workarounds: 

1) A dataset (RECFM FB, LRECL= 154) can be allocated to the PTTLOG DD statement in the Xmanager JCL, to place the TT Log information in a dataset 

2) Use the Sysview "X" command on the PTTLOG DD statement of your Xmanager, to copy the Sysview Xmanager Log information to a dataset