On Fri, 22 Jun 2018 09:43:15 -0500, John McKown <[email protected]> wrote:
>This is strictly a curiosity question. Suppose for some unspecified & >irrelevant to this discussion that my code is running under a TCB which has >a non-zero TCBSENV value. If my code were to do an ATTACHX to create a >subtask, would the new TCB have the same TCBSENV as my code, or would it be >zero? I did RTFM but did not see anything that addresses this. And an IBM >KC search got so many hits that I was completely befuddled. No, in the general case ATTACH/X does not propagate TCBSENV from parent to child. There is one exception I recall, but I leave research on the details (and proper terminology) to someone else. I believe that WLM provides functions that allow requestors to schedule work to a server address space, and cooperating worker address spaces to pull requests off of the server queue for processing. Those WLM services also capture the security credentials for the requestor. When the worker pulls a request the system instantiates a copy of the requestor's ACEE for the worker so the request runs with the requestor's security credentials. In that environment (and only in that environment, as far as I know) if the code running in the worker does an ATTACH/X, TCBSENV _is_ propagated to the daughter TCB. -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
