IMS thread attachment
IMS connection threads describe the IMS application connection, traces progress, processes resource functions, and delimits accessibility to Db2 resources and services.
Execution of the first SQL statement of the program causes the IMS attachment facility to create a thread and allocate a plan, whose name is associated with the IMS application program module name. Db2 sets up control blocks for the thread and loads the plan.