Re: Dynamic LPA module use count- who's using the module ?
Thanks Peter. They re-IPLed that LPAR on Sunday so that cleaned everything up. Regards, John. On 17 April 2012 17:31, Peter Relson rel...@us.ibm.com wrote: Does anyone know if there is a way of finding out which address spaces are using these previous versions with the non-zero use counts ? Brute force: you could schedule an SRB to every address space and, for every task in that address space, with appropriate serialization, run the TCBLLS queue looking for LLE's that point to LPA CDE's (or LPDE's if that is of interest) with an entry point that matches what you care about. Also, keep in mind that use counts for LPA modules (whether dynamic or not) provide no information about whether the module is actually in use, they only track the number of LOADs vs DELETEs (approximately). Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- John Blythe Reid, Técnico de Sistemas de z/OS y de Sistemas Transaccionales, Barcelona, España. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: Dynamic LPA module use count- who's using the module ?
Does anyone know if there is a way of finding out which address spaces are using these previous versions with the non-zero use counts ? Brute force: you could schedule an SRB to every address space and, for every task in that address space, with appropriate serialization, run the TCBLLS queue looking for LLE's that point to LPA CDE's (or LPDE's if that is of interest) with an entry point that matches what you care about. Also, keep in mind that use counts for LPA modules (whether dynamic or not) provide no information about whether the module is actually in use, they only track the number of LOADs vs DELETEs (approximately). Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: dynamic LPA
Are the SYS1.PARMLIB(PROGxx) entries: LPA ADD DSNAME(SYS1.MVS.EXITLOAD) MODNAME(...) always processed before: EXIT ADD EXITNAME(SYS.name) MODNAME(...) during z/OS initialization? All statements in a single parmlib PROGxx parmlib member are processed to completion in the order they are seen. But that is not relevant here because LPA ADD is not allowed during IPL processing PROGxx. If you want something in LPA during IPL, you would use LPALSTxx, IEALPAxx, or IEAFIXxx. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
In Don Ault's append, change exit to exit routine in the words. It is MODULE or MODNAME in the command syntax. And for IEFACTRT, as Barbara Nitz pointed out, the actual exit name is one of SYS.IEFACTRT, SYSSTC.IEFACTRT, etc depending upon your SMF specifications. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
A question related to the topic being discussed: Are the SYS1.PARMLIB(PROGxx) entries: LPA ADD DSNAME(SYS1.MVS.EXITLOAD) MODNAME(...) always processed before: EXIT ADD EXITNAME(SYS.name) MODNAME(...) during z/OS initialization? Or, are they processed in as specified via PARMLIB sequence? (In such a case one needs to ensure to specify PROGxx LPA entries before corresponding EXITs). Since I not sure of the above, and I did not conduct an appropriate experiment to ascertain the above - I still load my exits into LPA via IEALPA00. Thanks ... Janek -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
re: ms. Nitz's last contribution (i don't this will work ) actually, i think it does work: i'm running z/os 14, and my smfprm00 reads (in part): exits(iefactrt,iefusi, ) and when i do a d prog.exit the output is (in part): sys.iefactrt sys.iefusi. and both of those exits are working quite well, as far as i can tell . == /s/ tuco bonno graduate, College of Conflict Management, University of Southeast Asia. I partied on the Ho Chi Minh trail -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
exits(iefactrt,iefusi, ) and when i do a d prog.exit the output is (in part): sys.iefactrt sys.iefusi . Exactly. *SYS*.iefactrt, not just *IEFACTRT* as Don specified. This is the most common mistake one makes when dealing with replacing an SMF exit (I've been down that road, myself). Barbara Nitz -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message, More +++ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
Barbara - thanks for taking the time to respond. And how do they do it these days? Do they use the interfaces CSVDYNLPA and CSVDYNEXIT (or whatever that one's called)? Or do they do it the way it was done before these interfaces became available - by altering addresses in MVS control blocks? I have no idea how TMON does this dynamic replacment. How did you determine that the iefactrt change was the reason for the freeze? What exactly does your actrt do? For which types of work (TSO, STC, JES)? Well, At the exact same time TMON's LPA utility was attempting to do its load, the system froze. Too much of a coincidence? Possibly could have been something else. I could not do a S/A dump to do a post mortem. My ACTRT displays job stats for batch jobs in the JESMSGLG and the JESYSMSG Regards John Norgauer University of California Davis Medical Center 2315 Stockton Blvd ASB 1300 Sacramento, Ca 95817 916-734-0536 SYSTEMS PROGRAMMING.. Guilty, until proven innocent !! JN 2004 Hardware eventually breaks - Software eventually works anon -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
SETPROG EXIT DELETE EXITNAME(IEFACTRT) MODULE(modname) Then add the exit back, which will pick up the new one you put in LPA: SETPROG EXIT ADD EXITNAME(IEFACTRT) MODULE(modname) DSNAME (dataset-where-it-now-lives) I don't think that this will work. The exit name is normally not iefactrt, it is SYS.IEFACTRT and/or SYSSTC.IEFACTRT and/or SYSTSO.IEFACTRT (depending on the definitions in SMFPRMxx) and displayable via D PROG,EXIT. So in order to activate a new module for an exit, you will have to use the correct exit name as defined by SMF. Otherwise the system will tell you for the delete that the exit wasn't found and for the add that it happily defined an exit (that no one uses). If you use the dsname on the setprog exit,add command then you don't need to first get it into LPA, as that LPA module will not be used but instead the one from DSNAME. That works, but for debugging purposes you cannot use the lmod parm on a slip trap (as CSV knows nothing about the module loaded from a dsname). Best regards, Barbara Nitz -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message, More +++ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
John, You do not explain what procedure you used exactly. In order to be able to replace SMF exits such as IEFACTRT, the exits have to have been loaded dynamically to begin with. You would do this with the PROGxx PARMLIB member. Liliane At 03:33 PM 11/21/2005, John Norgauer wrote: We recently attempted to replace our IEFACTRT routine in our production platform using TMON.. Well, as luck would have it, our system appeared to freeze up. We had been able to do this replace function successfully on our test LPAR. Anyone care to comment on this type of a replacement in dynamic LPA... hazards, potential problems? Thanks John Norgauer University of California Davis Medical Center 2315 Stockton Blvd ASB 1300 Sacramento, Ca 95817 916-734-0536 SYSTEMS PROGRAMMING.. Guilty, until proven innocent !! JN 2004 Hardware eventually breaks - Software eventually works anon -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html Liliane Clever SunGard SCT/Temple University Lead Systems Programmer 215-204-6411 (Office) 215-204-1817 (Fax) [EMAIL PROTECTED] www.sungardsct.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
The OEM product TMON for MVS has a utility to dynamically load or replace an exit(LPA module) John Norgauer University of California Davis Medical Center 2315 Stockton Blvd ASB 1300 Sacramento, Ca 95817 916-734-0536 SYSTEMS PROGRAMMING.. Guilty, until proven innocent !! JN 2004 Hardware eventually breaks - Software eventually works anon -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: dynamic LPA
We recently attempted to replace our IEFACTRT routine in our production platform using TMON.. And how do they do it these days? Do they use the interfaces CSVDYNLPA and CSVDYNEXIT (or whatever that one's called)? Or do they do it the way it was done before these interfaces became available - by altering addresses in MVS control blocks? Well, as luck would have it, our system appeared to freeze up. We had been able to do this replace function successfully on our test LPAR. How did you determine that the iefactrt change was the reason for the freeze? What exactly does your actrt do? For which types of work (TSO, STC, JES)? Anyone care to comment on this type of a replacement in dynamic LPA... hazards, potential problems? As long as I have used the MVS commands utilizing the dynamic interfaces I never had any problem (other than code problems in the exit itself - which has nothing to do with how they were loaded/defined). It took me some time, though, to really understand the relationship between sys.iefactrt, sysstc.iefactrt, systso.iefactrt and sysjes.iefactrt and how that interacts with the module that gets called for each dynamic exit. Regards, Barbara Nitz -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html