January 20, 2011, 02:08 PMBob Jude Ferrante
Monitoring Usage of PMF.
Interesting request. But I don't think there's a way to monitor this without some work on your part - and RA would not be the way to do this. You'd have to put code in each Gadget focexec or program run as a Gadget that you wanted to use to write an entry in a monitoring DB or flat table. I would recommend that if it's all FOCEXEC based Gadgets, you create an INCLUDE to do this that does the writing and have it -WRITE back to a APP FILEDEF xxxx DISK )APPEND of the following parms:
&HYYMDs (time of request),
There might be parm in the layer that gets the Gadget name which you could also include - anybody know what that parm would be?
if comma delimited you could then TABLE FILE off it. Cost to this would be, as the log file grows, you will gradually run more slowly (because the system has to read to end of file, right?) and so you should clear this file out or archive it once in a while.
Hope this gets you thinkin'