> How does z/OS handle a situation where two COBOL programs that are compiled > at different ARCH levels and part of the same LE enclave? Since the vendor > code receives execution first, does it determine the enclave level?
I don't think an enclave HAS an ARCH level. ARCH is a compiler parm. If you were writing a compiler, your compiler code would say "can I use machine instruction XYZ? Nope, user said ARCH(n), so no can do." The code you emitted would be fixed (of course): it would never, ever have an instruction XYZ in it. If the user ran it on a zWhatever, it would still be devoid of XYZ instructions. The enclave does not have an ARCH level, the various programs running there either do or do not include instruction XYZ. > I'm not > sure what ARCH level the vendor compiles their COBOL code (if they have > any). They need to know. I was until very recently responsible for a vendor product written in C++. There was a conscious management decision to support customers back through a z9, so I compiled ARCH(7). End of story. I did not pick some new ARCH level that appealed to me that day. Question: did you possibly customize or parametize the debugger for a z14 during installation, and then clone that installation over to your older DR machine? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Brian Chapman Sent: Monday, May 6, 2019 6:13 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: COBOL 6.2 and ARCH(12) I verified a few of my recent COBOL listings, and they all have ARCH(8) specified. Our applications developers claim that this issue only occurs when they run their code through the debugger. It apparently never occurs outside the debugger. The issue has been very intermittent, so it hasn't been easy to replicate but we have dumps from most of the 0C1 or 0C4 abends. How does z/OS handle a situation where two COBOL programs that are compiled at different ARCH levels and part of the same LE enclave? Since the vendor code receives execution first, does it determine the enclave level? I'm not sure what ARCH level the vendor compiles their COBOL code (if they have any). Thank you, Brian Chapman ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN