The solution I suggested presumes that you are adding code to the STC program itself (inside looking out).
If you are on the outside looking in (i.e. another task wants to see what resources the STC is using), then my solution won't work, since most of the control blocks are in the private address space of the STC. John ---------------------------------------------------------------------- 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

