SAA resource recovery commit processing
An application program tells IMS to commit changes to database resources by issuing the SAA resource recovery call, SRRCMIT.
By issuing the SRRCMIT call, an application program tells IMS to commit changes to database resources:
- Issue the SRRCMIT call when the application program updates any IMS resources or accesses Db2 for z/OS® resources.
- Reissue the SRRCMIT call after making any subsequent changes to an IMS or Db2 for z/OS resource.
- Issue the SRRCMIT call before terminating your application program.
If the application program terminates with any uncommitted changes to IMS resources, IMS attempts to commit these changes. Dangling conversations are deallocated abnormally.
When you issue the SRRCMIT call, IMS gets
control and generates an internal sync-point call (if the conversation
was not allocated with SYNCLVL=SYNCPT
). All database
changes are committed. All messages inserted to alternate PCBs (program
control blocks) are sent to their final destination.