IBM CICS Transaction Server for OS/390 SC33-1686-02 User Manual

Page 87

Advertising
background image

CEMT INQUIRE DB2ENTRY

DISabling

The DB2ENTRY is in the process of being
disabled. New transactions cannot access the
DB2ENTRY. Existing transactions using the
DB2ENTRY will be allowed to complete unless the
DB2ENTRY is being disabled with the FORCE
option.

PLAN

returns the name of the plan to be used for this
DB2ENTRY. If PLAN is returned, PLANEXITNAME is
blank.

PLANExitname

returns the name of the dynamic plan exit (if any) to be
used for this DB2ENTRY. If PLANEXITname is returned,
PLAN is blank.

PRIority

returns the priority of the thread subtasks for this
DB2ENTRY relative to the CICS main task (QR TCB).
The values are:

High subtasks attain a higher priority than the CICS

main task from which the subtask was generated.

Equal

subtasks have equal priority with the CICS main
task.

Low subtasks have a lower priority than the CICS main

task.

PROtectnum

returns the maximum number of protected threads
allowed for this DB2ENTRY.

PTheads

returns the current number of protected threads for this
DB2ENTRY. A protected thread is an inactive thread

available for reuse by a new transaction. If no
transaction has reused the thread by the time it has
been processed by 2 purge cycles, the thread is
terminated.

THREADS

returns the current number of threads active for this
DB2ENTRY.

THREADLimit

returns the current maximum number of threads for this
DB2ENTRY that the CICS DB2 attachment allows active
before requests are made to wait, overflow to the pool,
or are rejected (see THREADWait).

THREADWait

returns whether or not transactions should wait for a
DB2ENTRY thread be abended, or overflow to the pool
if the number of active DB2ENTRY threads reach the
Threadlimit number. The values are:

TWait

If all threads are busy, a transaction waits until
one becomes available.

NOTwait

If any threads are busy, a transaction is
terminated with an abend code AD2P.

TPOOL

If all threads are busy, a transaction is diverted to
use a pool thread. If the pool is also busy, and
NOTWAIT has been specified for the
THREADWAIT parameter on the DB2CONN, the
transaction is terminated with an abend code
AD3T.

Chapter 11. Master terminal CEMT

69

Advertising