Lindy, before using code from SHOWzOS make sure its GUPI. I use of lot OCO cblocks and often it fails after a new z/OS version or just after apply a PTF. Of course SHOWzOS is used for several installation and often I provide a fix within a week or so. However don't count on it.
To retrieve the pathname from the TIOT depends on some OCO cblocks for example. Perhaps SystemRexx would be useful for you too Roland >Oh cool, didn't think of IPCS. Of course. Duh. > >Anyway, whoohoo, I found what I was looking for (sort of) the thing which started me on this thread. It's hung off of the TIOT which I looked at up and down for ages. But it's not an address. It's a 3 byte field called an SWA and points to the JFCB. You see, I wanted to know where the datasets allocated to the DD's in my TSO/ISPF session were located. > >I know that often people write Rexx or CLIST's that Outtrap LISTA ST and parse that to reallocate SYSPROC. I wondered if I could get it from the TIOT or similar control block. And it appears now, with a little diligence and some good advice, that I've found a way to do it. The answer for me in this case was the advice to simply go through the SHOWZOS source. Sure enough there it was staring me right in the face (at around line 20,800). I just need that exec from Gilbert to decode the SWA and voilá. > >I could have asked outright, but I'll never learn that way, and besides >there's really nothing much better to do here in Helsinki on a weekend. > ---------------------------------------------------------------------- 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