386 IMS Connectivity in an On Demand Environment: A Practical Guide to IMS Connectivity
6. When DB2 receives the commit request, DB2 invokes RRS Attachment Facility (RRSAF)
to commit the changes. RRSAF works in conjunction with the application program, the
resource manager (IMS/DB2), and the sync point manager (RRS) to ensure that updates
to IMS/DB2 resources and other protected resources are synchronized across a unit of
work. Either all work is committed, or all work is backed out.
7. Finally, IMS commits its updates under two-phase commit protocol of RRS.
20.3 Sample ODBA using DB2 stored procedures
The following sections describe how to implement a DB2 stored procedure to access an IMS
system through the ODBA. We use the DSNTEJ61/DSNTEJ62 ...