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:
Customers 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. 
Customers 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. 
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

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.