VSE (as the OP wanted) or only z/OS? Charles
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Phil Smith III Sent: Tuesday, April 26, 2016 9:16 AM To: [email protected] Subject: Re: can a program determine the capacity setting of a z-box? Assuming what you want to know is MSU counts (not clear to me from the discussion so far), here's a Rexx snippet to show you those for the CEC and the LPAR: /* REXX -- Looks at memory and displays MSU counts */ z = c2d(storage(d2x(c2d(storage(d2x(c2d(storage(10,4))+604),4))+228),4)) say 'CEC='c2d(storage(d2x(z+32),4))'; LPAR='c2d(storage(d2x(z+28),4)) Note that if the LPAR is soft-capped, the numbers will be the same. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
