Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to find the number of times a CLIST is getting executed.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
rockish

Active User


Joined: 05 Jun 2009
Posts: 185
Location: Planet Earth

PostPosted: Wed Apr 06, 2011 2:02 am    Post subject: How to find the number of times a CLIST is getting executed.
Reply with quote

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
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2086
Location: Silicon Valley

PostPosted: Wed Apr 06, 2011 3:54 am    Post subject: Reply to: How to find the number of times a CLIST is getting
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2442
Location: Netherlands, Amstelveen

PostPosted: Wed Apr 06, 2011 11:10 am    Post subject:
Reply with quote

You could try SMF type 32.
Back to top
View user's profile Send private message
rockish

Active User


Joined: 05 Jun 2009
Posts: 185
Location: Planet Earth

PostPosted: Wed Apr 06, 2011 9:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Mon Apr 11, 2011 12:11 pm    Post subject: Reply to: How to find the number of times a CLIST is getting
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
No new posts Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am
No new posts Calling CLIST through job and REXX Sahasra K CLIST & REXX 19 Tue Aug 01, 2017 10:25 am
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us