Defining Db2 plans for IMS applications (optional)
The application plan defines the Db2 resources that an application accesses.
About this task
The application plan is identified by its plan name. Each IMS application is associated with a plan name.
The default is to have the Db2 plan name the same as the IMS application program load module name. If you assigned a different name to the plan, you need a resource translation table (RTT). If you chose an error option different from the REO default, you also need an RTT. Db2 provides the DSNMAPN macro in prefix.SDSNMACS to generate an RTT. After it is assembled, the table must be link-edited as REENTRANT with RMODE=24 into any authorized library that is concatenated with the library from which IMS loads the Db2 IMS attach modules.
The format of DSNMAPN macro is shown in the following table.
Macro | Option | Meaning |
---|---|---|
DSNMAPN | APN= | IMS application name |
,PLAN= | Associated Db2 plan name | |
[,OPTION=] | Specific entry error option R, Q, or A. See REO in the SSM entry. | |
[,END=] | Indicates last entry (YES/NO). NO is the default. |