>I would guess (without checking the >code) that the restriction is because task termination cleanup of >name/token pairs owned by the terminating task is done by a static >system resource manager which runs before the dynamic resource managers >established via RESMGR.
Actually, it is the other way around. Name/Token resource managers are established via RESMGR. Dynamic resource managers established via RESMGR get control before static system resource managers. A system-created-via-RESMGR resource manager might or might not run before your RESMGR resource manager, so if you were to create a name/token in your RESMGR resource manager, and you were in a case where the name/token resource manager ran "before", then your name/token would not be cleaned up properly. RESMGR resource managers run in LIFO order from the time of establishment. In specific cases (where you control all the flows) you might know the order in which they were established and thus know the order in which they will be given control. Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- 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

