Samples provided by FA
To use the event processing feature, FA provides the following
samples in
IDI.SIDISAM1
:- Sample Notification exit IDISXEPN
- A generic Notification user exit that calls IDIWRITE for
all available
ENV
andNFY
data area variables. For more information about this sample exit, see Notification user exit. - Sample Event Processing user exit IDISRTCC
- The sample exit written in C. The sample writes the data provided
by IDISXEPN to a data set. Then, the sample dynamically allocates a DD named
IDIINTR
to the internal reader that submits a job to run a REXX exec (IDISRTCR
) that uses the created data set as input. Additional samples in COBOL and PL/I are also provided asIDISRTCB
andIDISRTCP
respectively.To use the sample IDISRTCC exit, it must be specified via the ADFzCC EventProcessingExit option. For details about this option, see IBM Application Delivery Foundation for z/OS Common Components: Customization Guide and User Guide.
- Sample REXX exec IDISRTCR
- The sample REXX exec IDISRTCR is
executed by the job that is created by
IDISRTCC
. This exec reads the provided input data set and uses its contents (which are the ENV and NFY data area variables provided by IDISXEPN) to build an RTC work item request with relevant information about the fault entry. Then, the request is sent to the RTC server that is specified within the script. A work item under the appropriate RTC project is created, which contains information about the fault that occurred.