TCBSENV is not propagated to the daughter on ATTACH. My suggestion would be to ATTACH DISP=NO and get the mother task to populate the field in the daughter.
Rob Scott Rocket Software -------- Original message -------- From: Charles Mills <charl...@mcn.org> Date: 22/06/2018 16:50 (GMT+00:00) To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Is TCBSENV propagated to child TCB by ATTACHX I am very familiar with TCBSENV and I don't know the answer. My "guess" would be that it IS propagated, but that is a guess. Easy to run an experiment if you wanted to. I do know that TCBSENV is "optional" -- it is zero a lot of the time. (That is, if you have code that sees a lot of "random" TCB's you will see a lot of TCBSENV == 0.) ASXBSENV is often a fallback. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John McKown Sent: Friday, June 22, 2018 7:43 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Is TCBSENV propagated to child TCB by ATTACHX 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. -- There is no such thing as the Cloud. It is just somebody else’s computer. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ================================ Rocket Software, Inc. and subsidiaries ¦ 77 Fourth Avenue, Waltham MA 02451 ¦ Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN