Controlling allied threads and connections Db2 uses allied threads to process connections from TSO, batch, IMS, CICS®, CAF, or RRSAF.