>Is there a specific SUBpool for the STORAGe ? This is a somewhat scary question to see from someone writing key 0 supervisor state code.
There is almost never a "specific" subpool for anything. But there are things you have to be aware of when allocating any storage, such as its persistance characteristics. If you allocate storage (here, used by an SRB) from a subpool that is owned by a task then it is up to you to make sure that you are done using that storage and have freed it before that task can conceivably terminate. Clearly you don't want to allocate it in a user key if you are sharing the address space with untrusted code. >(o) There are no R13 entry or exit requirements in either the FRR or the RMTR Or the SRB itself. None of these routines should save registers by assuming that R13 points to something they can use. None of these routines have a requirement to save registers at all other than saving the value of register 14 so that they can successfully return to the caller. >(o) Both FRR and RMTR expect a "BR R14" to return (ie *not* a PR) To clarify: unless you do a BAKR 14,0 on entry, in which case you would want to return via PR. Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html