For completeness, I will mention a couple of easy ways to count using a SLIP IF on the entry point of the exit routine.
1. ID=xxxx,ML=65535 Then use D SLIP=xxxx to see the number of matches. 2. Use the A=AEXIT,AEXIT=IEAVTSZE as documented under the SLIP command for ZAD traps. While this was designed and documented for use with ZAD, it can be useful for counting any type of PER SLIP trap (ZAD,IF,SA,SBT,SK). Jim Mulder z/OS Diagnosis, Design, Development, Test IBM Corp. Poughkeepsie NY -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of jgmauta...@yahoo.com.ar Sent: Thursday, June 29, 2023 9:19 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXT] Re: Counting EXIT invocations Thanks you guys. Pretty interesting and technical options were exposed. However, in this particular case (ICHPWX01 - RACF New-password Exit), it is not worth the effort. I just want to know how heavily executed it is. Given the fact that it is invoked just for the following 3 events: -RACF ALTUSER command (with PASSWORD keyword).-RACF PASSWORD command (with PASSWORD or INTERVAL keyword).-RACINIT REQUEST=VERIFY (with NEW Password specified). I can have an estimation of ICHPWX01 executions by just counting these 3 events that cause it to be called. And these events generate SMF type 80 records, so I can go that way. Thanks, Juan Mautalen El jueves, 29 de junio de 2023, 09:53:04 a. m. GMT-3, Crawford Robert C (Contractor) <000004e08f385650-dmarc-requ...@listserv.ua.edu> escribió: Are you talking about the EXIT macro? You might be able to use a SLIP trap to count the invocations. Robert Crawford Abstract Evolutions LLC (210) 913-3822 -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Tony Harminc Sent: Thursday, June 29, 2023 3:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXT] Re: Counting EXIT invocations On Wed, 28 Jun 2023 at 19:28, Colin Paice <colinpai...@gmail.com> wrote: > > Allocate a block of 8 bytes in common memory. Use name token to point > to it. Use Compare double and swap to update value. every 1000 > entries reset to zero and write out Or use Add Immediate (ASI/AGSI) instead, which is interlocked unless you have quite an old machine and probably performs better than CDS. But even if you do have a machine without the interlock, it's unlikely your update will actually clash, and even if it does your count will probably be off by only 1. Would it matter? You're not adding to the balance in a bank account. Tony H. > On Wed, 28 Jun 2023 at 15:49, Seymour J Metz <sme...@gmu.edu> wrote: > > > If the exit serializes access to the N/T pair then there should be > > no lost data. > > > > ________________________________________ > > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on > > behalf of Colin Paice <colinpai...@gmail.com> > > Sent: Wednesday, June 28, 2023 10:41 AM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Re: Counting EXIT invocations > > > > Having a WTO depends on how many exit calls there are per second. > > 100 a second might cause a problem. > > > > Depending on where your exit runs, and what state it is in, a system > > level name token pair might be a good compromise. > > On first use - allocate a name token, set use count = 0; do a STCK > > and add > > 10 minutes - and store it in name token. > > on every other call > > > > - increment counter > > - If stck(now) > the stored STCK > > - calculate the time delta - and WTO out # seconds and count > > - store now + 10 minutes in the name token. > > > > The time between WTOs may be > 10 minutes but it gives you a > > flavour of the count. You might lose the odd entry if two TSBs are > > trying to update concurrently. > > > > Or do the WTO every 1000 calls. > > > > On Wed, 28 Jun 2023 at 15:10, Jousma, David < > > 000001a0403c5dc1-dmarc-requ...@listserv.ua.edu> wrote: > > > > > Best option would be to have the exit issue a WTO, and then scan > > > operlog for that. > > > > > > Dave Jousma > > > Vice President | Director, Technology Engineering > > > > > > > > > > > > > > > > > > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on > > > behalf of jgmauta...@yahoo.com.ar < > > 000001f9499d67db-dmarc-requ...@listserv.ua.edu > > > > > > > Date: Wednesday, June 28, 2023 at 9:21 AM > > > To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU> > > > Subject: Counting EXIT invocations Hi! We have recently > > > implemented a RACF exit. Is there a way to know how many times > > > this EXIT was executed (on a given period of time)? Thanks in > > > advance for your help, Juan Mautalen > > > ------------------------------------------------------------------ > > > ---- > > > > > > > > > Hi! > > > > > > We have recently implemented a RACF exit. Is there a way to know > > > how many times this EXIT was executed (on a given period of time)? > > > > > > Thanks in advance for your help, > > > > > > Juan Mautalen ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN