DB2 Attach Facility
Java™ message processing programs (JMPs) and Java batch programs (JBPs) in IMS can access Db2 for z/OS® data using the DB2® Resource Recovery Services Attach Facility, referred to here as the DB2 Attach Facility.
Each dependent region that is set up for this support builds its own RRSAF thread to access Db2 for z/OS data. This thread enables the coordination of updates that the application program makes with the resources of both IMS and Db2 for z/OS resource managers. When IMS JMPs and JBPs use the DB2 Attach Facility to access Db2 for z/OS data, IMS is not the sync point coordinator of updates and commits, as it is with ESAF. With the DB2 Attach Facility, IMS is a participant, and z/OS Resource Recovery Services is the sync point coordinator.