Specifying the call to the subroutine in the application
In the code for the application, you must also call the subroutine before and after the event you want to monitor.
OMEGAMON AI for CICS provides samples of the code you use to monitor the event and this information covers how to use the samples.