How to locate the high level qualifier for a Thread Terminator Monitor Profile
search cancel

How to locate the high level qualifier for a Thread Terminator Monitor Profile

book

Article ID: 36162

calendar_today

Updated On:

Products

Thread Terminator for DB2 for z/OS

Issue/Introduction

How to locate the high level qualifier for a Thread Terminator for Db2 for z/OS (PTT) Monitor Profile since the high level qualifier for a Thread Terminator Monitor Profile
does not appear on the Thread Terminator Monitor Profiles Display

Resolution

In the following example, the Thread Terminator Monitor Profile name is CANCEL1.
However, you will 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 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