Correlation ID translation

The correlation ID is a DB2 field that identifies the task executed by DB2.

The correlation ID contains:
For batch jobs
Jobname
For TSO applications
Original authorization ID (the logon user ID)
For applications using the DB2 call attachment facility
Original authorization ID (the logon user ID)
For CICS® transactions
Connection type, thread type, thread number, and the transaction ID
For IMS applications
PST number and PSBNAME of the application

Particularly for CICS and IMS it is useful to break the correlation ID into several parts, so that you can easily distinguish the transaction ID (for CICS threads) from the PSBNAME (for IMS threads).