Monitoring TSO and CAF connections
To display information about connections that use the TSO attachment facility and the call attachment facility (CAF), issue the DISPLAY THREAD command.
About this task
The following table summarizes how the output for the DISPLAY THREAD command differs for a TSO online application, a TSO batch application, a QMF session, and a call attachment facility application.
Connection | Name | AUTHID | Corr-ID1 | Plan1 |
---|---|---|---|---|
DSN (TSO Online) | TSO | Logon ID | Logon ID | RUN .. Plan(x) |
DSN (TSO Batch) | BATCH | Job USER= | Job Name | RUN .. Plan(x) |
QMF | DB2CALL | Logon ID | Logon ID | 'QMFvr0' |
CAF | DB2CALL | Logon ID | Logon ID | OPEN parm |
Notes:
- After the application connects to Db2 but before a plan is allocated, this field is blank.
The name of the connection can have one of the following values:
- Name
- Connection to
- TSO
- Program that runs in TSO foreground
- BATCH
- Program that runs in TSO background
- DB2CALL
- Program that uses the call attachment facility and that runs in the same address space as a program that uses the TSO attachment facility
The correlation ID, corr-id, is either the foreground authorization ID or the background job name.
The following command displays information about TSO and CAF threads, including those threads that process requests to or from remote locations:
-DISPLAY THREAD(BATCH,TSO,DB2CALL)