Accessing IMS data from Db2 for z/OS stored procedures using the classic Java APIs for IMS

This information covers accessing IMS™ databases from a Db2 for z/OS® stored procedure by using the classic Java™ APIs for IMS, ODBA, and DRA.

Recommendation: Start of changeCustomers using these APIs should migrate to the IMS Universal drivers. IMS Version 13 is the last release to support the IMS classic Java APIs. Because the IMS Universal drivers are built on industry standards and open specifications, and provide more flexibility and improved support for connectivity, data access methods, and transaction processing options, use the IMS Universal drivers for developing your Java applications to access IMS. End of change

The following figure shows a Db2 for z/OS stored procedure that is using the classic Java APIs for IMS, ODBA, and DRA to access IMS databases.

Figure 1. Db2 for z/OS stored procedure that uses the classic Java APIs for IMS
Begin figure description. The stored procedure, running onDb2 for z/OS , uses the classic Java APIs for IMS, ODBA, and DRA layers to access DL/I on IMS DB. End figure description.

To deploy a Java stored procedure on Db2 for z/OS, you must configure the classic Java APIs for IMS, ODBA, and DRA. For details on completing these tasks, see the "Loading and running the ODBA and DRA modules in the z/OS application region" topic in IMS Version 13 Communications and Connections.