Connecting PL/i Programs to Other Server Features
This of course assumes that you are using a product that includes the i.CanDoIt server. Anything that can be triggered by a level in a register can be triggered by your program. You can trigger SNMP traps, event logs, and email notifications from your program. You can generate data to be logged to the log file.
Interfacing your program to any of these features is easy. Simply decide what your algorithm is for making a decision, decide what data you will generate as a result, pick a place to put it. Next, select that register in the applicable server template, and set the threshold or other parameters as applicable to get the desired action.