Declaring the dynamic PSBs

If you do not plan to use dynamic PSBs to access databases in BMP mode or dynamic resource definition for MODBLKS resources is enabled and you plan to use the IMS Data Definition utility to generate dynamic PSBs, declaring the dynamic PSBs is not required.

Otherwise, you must include in the system definition an APPLCTN macro statement for each dynamic PSB name used by FM/IMS functions when run in BMP mode.

You use:
  • The DYNPRFN parameter on the FMN1POPI macro statement to specify the number of dynamic PSB names that FM/IMS can use to access the subsystem. (See DYNPRFN).
  • The DYNPRFX parameter on the FMN1POPI macro statement to specify the first 1- to 5-characters of the dynamic PSB name. (See DYNPRFX).

The dynamic PSB names that FM/IMS uses are obtained by combining the 1- to 5-characters you specify in the DYNPRFX parameter with a three-digit number in the range 001 to the number specified in the DYNPRFN parameter.

For example, if you specify DYNPRFN=3 and DYNPRFX=FMN on the FMN1POPI macro statement for the subsystem, you will need to include the following APPLCTN macro statements in the system definition:

APPLCTN PSB=FMN001,PGMTYPE=BATCH,DOPT
APPLCTN PSB=FMN002,PGMTYPE=BATCH,DOPT
APPLCTN PSB=FMN003,PGMTYPE=BATCH,DOPT
PGMTYPE=BATCH is required because the PSBs are for BMPs. The DOPT parameter specifies that it is a dynamic PSB, so it is also required.