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:[email protected]] On Behalf Of John McKown Sent: Friday, June 22, 2018 7:43 AM To: [email protected] 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 [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
