Skip to content

Secondary Binding

Secondary binding uses CMNDB2PL to produce bind parameters for logical subsystems other than the primary logical subsystem (i.e. the target of the promote etc. action).

In addition to generating the relevant bind parameters CMNDB2PL (for TYPERUN=PROMOTE or INSTALL) will check consistency tokens in the Db2 catalog to see if the secondary bind is actually needed.

This functionality is affected by the following, secondary bind only, CMNPLCTL parameters.

Control Keyword Description
SECONDARYBIND Requests secondary bind processing for this execution.
PKG2TGT= The target template for the primary logical subsystem PACKAGE collection id.
PKG2SRC= The source template for the primary logical subsystem PACKAGE collection id.

All the other template keywords refer to the requirements of the secondary logical subsystem.

PKG2TGT/SRC are required to allow CMNDB2PL to form the appropriate collection id in order to query the catalog for the latest consistency token for the bind that has just taken place for the primary logical subsystem.

If this consistency token is already present for the secondary collection id then no bind is required.