>I have 3 basic questions that I would like to ask to help me fill some gaps
in my knowledge.

>1)  How do I know what control blocks or memory for another address space
can be seen from my address space?

I would suggest getting acquainted with the virtual storage map for your
system, so that you can distinguish the address ranges that are specific to
the private area, versus those addresses that are part of common (SQA, CSA,
PLPA, etc).  Once you know what those address boundaries are, then its
pretty clear which ones are unique to the address space versus those that
are visible from all areas.  

>In other words, for example, I can loop through ASCB chain and find the
ASCB of other address spaces and see some control blocks that belong to
them.  >Sometimes, though, when I think that I'm looking at them I end up
looking at myself.  

In the case of following the ASVT and looking up ASCB's you've hit an
interesting situation.  While the ASCBs are in common storage, the ASXB
resides in private storage (except for the Master Schedular ASXB).
Interestingly enough, the ASXB's all map to exactly the same virtual storage
address, so there is no way to tell which one you are looking at, except
that when you get to the TCB's, regardless of which ASCB you started with,
you'll be looking at the one that is actually in storage.  This can easily
be seen by doing a RUNCHAIN on the ASCB's and looking at the ASXB addresses.

>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 term would be "common storage", and when you obtain the dump of storage,
simply specify the address spaces you want included in the dump.  This will
provide the access to the private area that you're interested in.  It's also
useful to check the PARMLIB definitions for the various dump types to ensure
that you're including all the storage areas that you really want (SVCDUMP,
SYSABEND, SYSUDUMP, SYSMDUMP).

>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.)  The Data Areas docs are great,
but the comments telling you what is what aren't so clear.  

I would suggest simply doing a search on the information until you find a
control block that looks like it contains what you want.  The documentation
indicates which control blocks (and specific fields) point to it, which
provides you a method for backtracking until you come back to some common
point like the CVT or PSA.  While not the most elegant approach, it will
gradually start to provide a map of control block relationships to you.

Hope this helps you get started.

Adam

----------------------------------------------------------------------
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

Reply via email to