DISPLAY PLAN or TRAN
The output of the DSNC DISPLAY PLAN or DSNC DISPLAY TRANSACTION command includes the name of the DB2ENTRY, *POOL, or *COMMAND for which each thread has been created.
- *
- The thread is active within a unit of work, and is currently executing in DB2.
- A
- The thread is active within a unit of work, but is not currently executing in DB2.
- I
- The thread is inactive; it is a protected thread that is waiting for new work.
The PLAN associated with the thread is displayed (there is no plan for command threads).
The PRI-AUTH field shows the primary authorization ID used for the thread. The SEC-AUTH field shows the secondary authorization ID (if any) for the thread.
The CORRELATION fields shows the 12-byte thread correlation ID which is made up as eeeettttnnnn where eeee is either COMD, POOL or ENTR indicating whether it is a command, pool or DB2ENTRY thread; tttt is the transid, and nnnn is a unique number.
If the thread is active within a unit of work, the CICS transaction name, its task number and finally the CICS local unit of work ID is displayed.
The correlation ID used in this display is also output on DB2 commands such as DISPLAY LOCK. For example, by using this display in conjunction with a display locks command you can find out which CICS task is holding a lock within DB2.