Absolutely, a sub-task can and normally does exit via BR 14. One of the elegances of OS/360 and its descendents (as opposed, for example, to DOS/360 and its descendants) is that a module can be entered and exit without knowing or caring whether it was invoked by CALL, LINK, ATTACH, or EXEC PGM=.
Never tried the CLC 0(2,14),=x'0A03' trick. Also, with regard to an earlier post; another reason to provide an ECB: when the ATTACHer needs to be able to retrieve the return code from the sub-task. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Monday, July 05, 2010 8:48 AM To: [email protected] Subject: Re: ECB parameter on attach Are you saying that it is unsupported for a module entered by ATTACH to exit via R14? Or merely that it is not guaranteed that a module can CLC 0(2,14),=x'0A03' to determine that it was entered by ATTACH? ---------------------------------------------------------------------- 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

