I don't know if this helps, but the SNMP sub-agent that I wrote (file #805 on 
CBTTAPE) has code in it to call system REXX execs and retrieve the results. I 
use the REXX execs to issue system commands and populate variables with the 
command output which, in turn, can be interrogated with SNMP GET requests (a 
monitoring agent in our case). The MPF exit code [shell] is pretty generic and 
can be found in multiple places on the CBTTAPE. You could just lift out the 
system REXX code and stuff it into an MPF exit shell. 
 
mike
 
 
Michael Schmutzok
Sr Systems Programmer
Shands HealthCare
 
 


>>> On 4/1/2010 at 1:30 AM, in message 
>>> <listserv%[email protected]>, Brian Westerman 
>>> <[email protected]> wrote:

The code in the hot topic is general in the sense that it can handle any
message, but not that it is called for EVERY message, just the one(s) you
set it up for in MPFLSTxx.  I was hoping that someone had actually gotten
the code that they referred to in the hot topic.  

Performance isn't an issue in this case, it's just for informational
purposes to see how it's done.  

Anyone have the code already built?

Brian

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to