View previous topic :: View next topic
|
Author |
Message |
rockish
Active User
Joined: 05 Jun 2009 Posts: 185 Location: Planet Earth
|
|
|
|
I have a CLIST that is available for all the users to run. This CLIST can be invoked in multiple ways like direct invocation, triggered from a batch job, etc. I am trying to arrive at the number of times this CLIST is getting executed on a every single or over a period time. Is this something that gets captured anywhere in the system or is there a way I can find the number of times a CLIST gets executed ? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
There is probably a better way...
I once had to do something similar and I accomplished it by adding a call to a logging routine. Each time the CLIST was called, I added a line to a file: timestamp, system name, userid, clist_name.
And occasionally, XMITed it to myself. That is, when a lucky user ran the CLIST, the file was sent to me. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
You could try SMF type 32. |
|
Back to top |
|
|
rockish
Active User
Joined: 05 Jun 2009 Posts: 185 Location: Planet Earth
|
|
|
|
Pedro - thanks for your insight. I wish it was that easy. But the problem with my shop is that, this CLIST resides in SYS1.CLISTLIB and any changes to that dataset doesnt go that easy. Its a lengthy process.
Petter Holland - Let me check that. I am not aware of SMF type 32 much. Let me do some homework in understanding that.
Thank you both. |
|
Back to top |
|
|
parsesource
New User
Joined: 06 Feb 2006 Posts: 97
|
|
|
|
i use a simple method to catch the usecount of various rexx-scripts with minimal overhead
I ADDRESS LINKMVS to a Copy of IEFBR14 (Script1 to BLABLA01, script2 to BLABLA02 etc.)
all fetch-events of these iefbr14-copies are visible in ibms module fetch monitor (which is unsupported freeware) |
|
Back to top |
|
|
|