Peter, We write software using COBOL and HLASM and I had a situation where subpool 0 had orphaned blocks of storage and our STC was apparently in control.
I found out that a RMODE=24, AMODE=24 HLASM PGM doing disk I/O and called by a STC has to do Freepool and after a close. We were using RACF old macros ICHEINTY to perform extracts and they defaulted to subpool=0 .. Regards, Scott On Thu, Jun 8, 2017 at 8:50 AM Peter Relson <rel...@us.ibm.com> wrote: > > My first question is where does LE place the HEAP ( what Subpool ) ? > > And my initial response is a question: why would you care what subpool? > The subpool is almost certainly not a programming interface. You should > not write any code that depends on the subpool > > Any presentation that describes the subpool likely does so to help you in > diagnosis situations, not in programming situations. > > >IIRC subpool 1 is for LE internals and subpool 2 for user heap and > >stack. Makes sense so presumably a user-space storage overwrite wont > >corrupt LE so it can shutdown cleanly. > > Tony H's response was right on target. Using different user-region > subpools does nothing to help prevent overwrites or corruption. > It does help a bit with someone unintentionally freeing the wrong thing. > Some applications might choose unique subpools to accommodate a subpool > freemain. > > Peter Relson > z/OS Core Technology Design > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Scott Ford IDMWORKS z/OS Development ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN