On Mon, 18 May 2009 08:43:56 -0400, Bob Woodside <[email protected]> wrote:
> Can anyone tell me where the SRM CPU Management Control Table >(CCT) layout is documented? > > In my copy of "MVS Data Areas", I hit a dead end at the RMCT, >which contains the RMCTCCT field pointing to the CCT. I can't find a >layout for the CCT itself. > > I want to include, in a class I'm teaching, a sample Rexx exec >that fetches the CCVUTILP field from this control block and displays >the current CPU utilization, to illustrate the use of the Rexx STORAGE >function to chase through MVS control blocks. > > I've used this technique in a variety of languages, and I don't >even remember where I first found the recipe for it. The sequence is > > CVT::CVTOPCTP ==>> RMCT > RMCT::RMCTCCT ==>> CCT > CCT + offset x'66' = CCVUTILP > > I don't really want to include examples that I can't document >properly. Some folks don't really like being told "Well, that's just >part of the Great Oral Tradition (TM)". > It's not GUPI, but see SYS1.MODGEN(IRACCT). CCVUTILP DC H'50' - SYSTEM CPU UTILIZATION Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:[email protected] z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html ---------------------------------------------------------------------- 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

