CPI-C driven application programs
A CPI Communications driven application program can use IMS-managed resources in two ways: by using the SQL calls to access Db2 for z/OS® through the IMS External Subsystem (ESS) Attach Facility and by using the APSB call to allocate IMS resources.
If you use the SQL calls to access Db2 for z/OS through the IMS External Subsystem (ESS) Attach Facility and the Db2 for z/OS resource translation table (RTT) is not used, the initial Db2 for z/OS plan name is the application program name. After the APSB call, the Db2 for z/OS plan name is the PSB name specified in the APSB call.
You can use the following SAA resource recovery calls when you want an application program to commit or back out changes to IMS or Db2 for z/OS resources:
- Use the Commit call (SRRCMIT) to commit changes.
- Use the Backout call (SRRBACK) to back out changes.