Is there a method to automatically start, refresh, and stop the Thread Terminator for Db2 for z/OS (PTT) Thread Monitor process?
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.