Massimo Biancucci wrote: >I'm wondering what's (if it's reasonable) the best way to capture usage of >REXX/CLIST member.
I believe this was discussed earlier in IBM-MAIN or TSO-REXX-L or ISPF-L. (I think) But, I believe you're probably SOL unless there is a solution which I certainly missed somewhere. >I've tried to run a simple JCL: >//ST003 EXEC PGM=IKJEFT01 >//SYSPROC DD DSN=myexec,DISP=SHR >//SYSTSPRT DD SYSOUT=* >//SYSPRINT DD SYSOUT=* >//SYSTSIN DD * > %TEST >/* >and capture with a GTF all the SVCs called. >I'm expecting at least a BLDL but nothing. GTF is somewhat expensive because there is an overhead. Anyways, your SMF records from that JCL will only show IKJEFT01, not subsequent called programs. You could use RACF to audit myexec dataset. (AUDIT against the profile and LOGOPTIONS ALWAYS for DATASET class) Alternatively, move the REXX/CLIST to somewhere else (or rename myexec) and wait until someone cries. Great fun until you're at risk being fired for disrupting your production system. On a side note: I wish the REXX and CLIST interpreter has an exit which is called BEFORE any interpreting is started. Are there such exits? They could be useful for monitoring the usage of those interpreted program languages. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
