Requesting SB during PSB generation

To request SB during PSB generation, specify SB=COND in the PCB macro instruction of your application's PSB.

You code this keyword for each database PCB buffered with SB. (This is not possible for IMS utilities that do not use a PSB during execution.)

The following diagram shows the syntax of the SB keyword in the PCB statement.

Read syntax diagramSkip visual syntax diagramPCBTYPE=DB,Other parametersSB=NOCOND
COND
Specifies that SB should be conditionally activated for this PCB.
NO
Specifies that SB should not be used for this PCB.

If you do not include the SB keyword in your PCB, IMS defaults to NO unless specified otherwise in the SB exit routine.

The SB keyword value can be overridden by SB control statements.

The following example shows a PCB statement coded to request conditional activation of SB:

SKILLA   PCB   TYPE=DB,DBDNAME=SKILLDB,KEYLEN=100,
               PROCOPT=GR,SB=COND