What to specify in your application code after the user event
Follow these instructions to add the code to build the parameter list and call OMEGAMON AI for CICS to stop monitoring the user event.
The instructions use the following examples:
- The event name is SAMPLE.
- The resource name is TESTING.
- The function defined in the Global Data Area is SUBTRACT.
- Build the PLIST using DSECT KOCAUE1D (located in thilev.midlev.TKANMAC).
- Move value STOP into field CALLER_COMMAND
- Move value TESTING into CALLER_RESOURCE_NAME
- Move value SUBTRACT into CALLER_FUNCTION_TYPE
- Move a return code (RC) into CALLER_STATUS (optional)
- Call KOCUE1DR ensuring that the address of the parameter list is passed in register 1. (KOCUE1DR is located in thilev.midlev.TKANSAM.)