IMP
The IMP (IMSplex) event type captures IMS type-2 (IMSplex) commands.
The MainView AutoOPERATOR OM Input Exit (BMCAOOM) detects the IMS Type-2 commands before the IMS OM processes the command. This allows a Rule to reject or modify the text of IMS Type-2 commands.
The requirements for the Rule Processor to detect these events are as follows:
- The MainView AutoOPERATOR for IMS component active in the PAS.
- The IMS OM address space runs on the same z/OS image as the MainView AutoOPERATOR PAS.
- You must specify the MainView AutoOPERATOR OM Input Exit (BMCAOOM) in the OM exit routine definitions list in the OM Proclib member: for example: EXITDEF=(TYPE=INPUT,EXITS=(BMCAOOM),COMP=OM).
- Include the MainView AutoOPERATOR load library in the STEPLIB of the IMS OM started task JCL.
The MainView AutoOPERATOR OM Input Exit broadcasts IMP events to all eligible MainView AutoOPERATOR PASs that are running on the z/OS image. To exclude an MainView AutoOPERATOR PAS, specify IMSOMEX=NO in BBPARM member AAOPRMxx for the PAS.
IMP Rules can intercept IMS Type-2 commands with up to 255 characters long text.
The following variables contain information that is specific to the IMP-initiated Rules:
- &IMFOMCLT: contains the client member name
- &IMFOMUSR: contains the user ID of the application that issued the command
- &IMFOMRTE: contains the route list that is associated with the command (up to a maximum of 30 characters )
IMP Rules can take the following actions to reject or reword the IMS Type-2 command:
- Reject command = YES. When an Rule takes this action and rejects a command, any eligible IMP-initiated Rules can still detect and process the commands. However, if the other IMS OM Input exits are listed in the proclib after the BMCAOOM exit, MainView AutoOPERATOR does not pass the command to the other IMS OM Input exits.
- Audit Reject = YES. When a Rule rejects the IMS Type-2 command, the PAS issues the DX0642I audit message to the Journal.
- Reword command. Use this action to modify the text of an IMS Type-2 commands. The maximum length of the new text is the original command length plus 80 characters (up to a maximum length of 255). The command text is immediately modified and the Rule Processor uses the text for subsequent Rule comparisons.