The recent discussion on SRM constant made me realize I need to add some
logic to some code. I want to be able to recognize when processors are added
and/or removed from the MVS image. As best as I can determine from the
manuals, setting up a System Listener for ENF events appears to be the way to
go. Look for system event 61, and then execute CSRSI. In the data returned by
CSRSI
SI22V1CONFIGUREDCPUCOUNT DS BL2 A 16-bit unsigned binary integer that *
specifies the total number of CPUs that are *
in the configured state. A CPU is in the *
configured state when it is in the *
configuration and available to be used to *
execute programs.
The above field should tell me the number of CPU's that are active.
Will this work? Anyone who has been down this path before and who would
comment, I would appreciate it.
--Dave Day
----------------------------------------------------------------------
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