Actually, no. There are 3 requirements for using JSCTB=YES on an attach macro, the first is that you have to be authorized, the second is that you have to have NO subtasks that have been attached without JSTCB=YES specified and the third is that you must be a JOB STEP TCB. Also,once you have a JSTCB=YES subtask running you cannot attach any subtasks with JSTCB=NO specified. Look at the return codes from ATTACH in the Authorized Services Reference, in particular RC=14 and RC=18 for more details..
=============================================== Wayne Driscoll OMEGAMON DB2 L3 Support/Development wdrisco(AT)us.ibm.com =============================================== From: Micheal Butz <[email protected]> To: [email protected] Date: 10/23/2011 12:04 AM Subject: Re: z/OS Control block question Sent by: IBM Mainframe Discussion List <[email protected]> Cann't a Authorized program do a ATTACH JSTCB=YES anytime -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Wayne Driscoll Sent: Saturday, October 22, 2011 8:29 PM To: [email protected] Subject: Re: z/OS Control block question Please explain how "all TCB's under a given JSTCB will point to the same TIOT" is incorrect, but "every TCB with the same TCBJSTCB will normally have the same TIOT" is true, when the two statements make the same point? =============================================== Wayne Driscoll OMEGAMON DB2 L3 Support/Development wdrisco(AT)us.ibm.com =============================================== From: "Shmuel Metz (Seymour J.)" <[email protected]> To: [email protected] Date: 10/22/2011 06:28 PM Subject: Re: z/OS Control block question Sent by: IBM Mainframe Discussion List <[email protected]> In <of23f0c2c5.ab17dd83-on8625792f.0052d8f0-8625792f.0052e...@us.ibm.com>, on 10/20/2011 at 10:05 AM, Wayne Driscoll <[email protected]> said: >but all TCB's under a given JSTCB will point to the same TIOT. Actually not. There will generally be more than one JSTCB. What is true is that every TCB with the same TCBJSTCB will normally[1] have the same TIOT. [1] I'm not aware of any exceptions. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see <http://patriot.net/~shmuel/resume/brief.html> We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

