> 1) How do I know what control blocks or memory for another address space > can be seen from my address space?
If you knew which control blocks you wanted to see, you could look at the data area description for the "residence". The subpool will tell you whether the data is in private or in common and often the macro commentary will also tell you fairly directly. However very few "interesting" control blocks for an address space are in common. > 2) If I want to look at control blocks and memory and they are not in > shared memory (is it shared memory? Is that the right term?), then what > mechanism would I use to view that data? The only way you can legally "look" at the contents of some address space other than your own is to get some of your own code loaded into common storage and then get it dispatched in the "other" address space. There are limited choices for doing that and they all require you to at least be running in supervisor state. The only direct and immediate way is to schedule an SRB into the target address space. Beware that general "snooping" in address spaces other than your own is pretty much a bad idea. > 3) This is a generic "how to catch a fish" question. Say I want a piece > of information and I know it is available because I see it in JES listings > or SDSF or something like that. Let's take job accounting information as > an example. How do you know where to find that? (Ok, that one I know, I > just used it as an example. It is in the OUCB.) And fortunately the OUCB is in common. Some of the things you want will turn out to be in common, albeit in different control blocks. However from the tone of your question I suspect you may be looking for more "monitor-ish" information. If you want performance-related data you can get it from the RMF APIs - which are supported if you have either RMF or CMF running. They are what SDSF uses to get the stats you see in the DA display. If you want other JES-ish or SDSF-ish stuff then you may want to dig around in the SAPI subsystem interface. CC ---------------------------------------------------------------------- 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

