How can I find the high level qualifier for a Thread Terminator Monitor Profile?

book

Article ID: 36162

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

Introduction: 

Since the high level qualifier for a Thread Terminator Monitor Profile does not appear on the Thread Terminator Monitor Profiles Display, this document describes how it can be found.

Question: 

How can I find the high level qualifier for a Thread Terminator Monitor Profile?

Environment:  

Thread Terminator for DB2 for z/OS r15.0 and above.

Answer: 

In the following example, the Thread Terminator Monitor Profile name is CANCEL1. However, you'll first need to attain the Control File name:

  1. From the Thread Terminator Main Menu, enter command TTCF on the option line.

  2. On the Thread Terminator Create Control File Display find the Thread Terminator Control File Dataset Name:

    rXX.X ----- Thread Terminator Create Control File Display
    -----------------------------------------------------------------------

    Specify Thread Terminator control file dataset allocation criteria:

    Generate JCL to allocate Thread Terminator Control File: ===> N (Yes/No)

    Dataset Name ===> Control.File.Name <== Thread Terminator Control File

    The Thread Terminator Control File name appears in the first "Dataset Name" entry. In this example, it is Control.File.Name

    (Note: If you are running multiple Xmanagers that use different PXMPARM libraries, view the TTCFPARM member that is contained in the highlvl.PXMPARM library that the specific Xmanager specifies to retrieve the Thread Terminator Control File name).

  3. If you have a tool, such as CA's File Master, which allows you to browse VSAM files, proceed to Step 4. Otherwise, use the following JCL to copy your Thread Terminator Control File to SYSOUT for review:
    //IDCAMS   EXEC PGM=IDCAMS//INFILE   DD DSN=Your.Control.File,DISP=SHR//OUTFILE  DD SYSOUT=*,DCB=(RECFM=FB,LRECL=256,BLKSIZE=0)//SYSPRINT DD SYSOUT=*//SYSIN    DD *REPRO INFILE (INFILE) OUTFILE (OUTFILE)//
  4. Browse the Thread Terminator Control File or SYSOUT output from Step 3:

    Enter a FIND command for the Profile name. Your results should look like this:
     ---+---1---+---2---+---3---+---4---+---5---+---6---+---7---+---8---+---9--+--0--+--1 PTT$CNTL...  .KQ   CANCEL1 Test Profile  CAMONITR  b  highlvl.PTTMPR.CANCEL1
    1. The Profile Name starts in position 25.

    2. The User ID in position 53 should match the CREATOR on the Thread Terminator Monitor Profiles Display (This screen can be obtained by selecting Option 7 from the Thread Terminator Main Menu).

    3. The highlvl qualifier for the Monitor Profile should begin in position 69. In this example, the complete name of the VSAM file appears as follows:

      highlvl.PTTMPR.CANCEL1

 

Environment

Release:
Component: PTT