How to start Thread Terminator Monitor Profile via an automated process such as z/OS Modify command or during initialization of the Xmanager started task
search cancel

How to start Thread Terminator Monitor Profile via an automated process such as z/OS Modify command or during initialization of the Xmanager started task

book

Article ID: 26780

calendar_today

Updated On:

Products

Thread Terminator for DB2 for z/OS

Issue/Introduction

Is there a method to automatically start, refresh, and stop the Thread Terminator for Db2 for z/OS (PTT) Thread Monitor process?

Resolution

Modify commands can be utilized to start, refresh, and stop the PTT Thread Monitor.

The Thread Terminator \ Dynamic DSNZPARM User Guide / Chapter 3 Preparing Xmanager / Modify Commands
section contains information to issue z/OS Modify commands to start, refresh, and stop the PTT Thread Monitor.


The following are examples where PTXMAN is equal to local Xmanager started task name:
F PTXMAN,START(TT) PRF( profile name)
F PTXMAN,REFRESH(TT) PRF(profile name)
F PTXMAN,STOP(TT)

 

It is also possible to start the PTT Thread Monitor at startup of the Xmanager task.

Example:

1. Create a member called $STRTPTT in the PXMPARM dataset. 
                                                                                                                                               
2. In the $STRTPTT member put the following:
-START(TT) PRF(profile name)
where profile name is the name of the PTT profile you want started when Xmanager starts up.


3.Add the following line to the XMANINIT member in the PXMPARM dataset:
-RUN($STRTPTT)

 

XMANINIT is a member read by the Xmanager started task when it starts up.