Displaying IMS attachment facility threads
You use the DISPLAY THREAD command to display IMS attachment facility threads.
About this task
DISPLAY THREAD output for Db2 connections to IMS differs depending on whether Db2 is connected to a DL/I batch program, a control region, a message-driven program, or a non-message-driven program. The following table summarizes these differences.
Connection | Name | AUTHID2 | ID1,2 | Plan1,2 |
---|---|---|---|---|
DL/I batch | DDITV02 statement | JOBUSER= | Job Name | DDITV02 statement |
Control region | IMSID | N/A | N/A | N/A |
Message driven | IMSID | Signon ID or ltermid | PST+ PSB | RTT or program |
Non-message driven | IMSID | AXBUSER or PSBNAME | PST+ PSB | RTT or program |
Notes:
- After the application connects to Db2 but before sign-on processing completes, this field is blank.
- After sign-on processing completes but before a plan is allocated, this field is blank.
The following command displays information about IMS threads, including those accessing data at remote locations:
-DISPLAY THREAD(imsid)