Sharing SMP/E data sets with IMS

Db2 and z/OS® cannot share SMP/E data sets because some module names and macro names are common to both products. Under certain conditions, however, Db2 can share SMP/E data sets with IMS.

About this task

If you do not share SMP/E data sets with IMS, skip this step.

The allocation job DSNALLOC defines a new set of SMP/E data sets that Db2 and IMS are to share.

Procedure

To define sharing of SMP/E data sets between Db2 and IMS:

You must modify your allocation job for either of the following situations:
  • Situation 1: You decide to have separate SMP/E data sets for Db2 and IMS. In certain situations, Db2 and IMS cannot share SMP/E data sets. You must have separate SMP/E data sets if you want to have two IRLMs.

    Even if you are not required to have separate SMP/E data sets, you might want to keep them separate. If Db2 and IMS share the SMP/E data sets, you need to accept or reapply Db2 corrective service to these data sets to allow IMS SYSGENs.

    To establish separate SMP/E data sets for Db2 and IMS, change the data set prefix that your allocation job uses to a value other than the prefix that you use for your current IMS SMP/E data sets. The allocation jobs use the prefix IMS. Changing this prefix prevents the allocation job from replacing your current SMP/E data sets and still allows it to create new SMP/E data sets.

  • Situation 2: You decide to share SMP/E data sets between Db2 and IMS, but you want to use the SMP/E data sets that already exist for IMS. To do this, remove the data set allocation and initialization statements from your allocation job. When you run the job, no SMP/E data sets are created, and Db2 then shares the existing SMP/E data sets with IMS.