Thanks for the idea of trying init_main_dp and IGZERRE together, I will try that and see if it flies.
These are non-LE-enabled assembler main programs (and some E15/E35 exits) calling VS COBOL II subroutines. Some of those COBOL subroutines can and will be recompiled to eCOBOL 4.2 first and later eCOBOL 5.2, but some cannot be recompiled so easily due to their widespread use elsewhere in the shop and the resource constraints on getting all using applications to test in one or even multiple QA cycles. Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tony Harminc Sent: Tuesday, June 06, 2017 7:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to call VS COBOL II RES program from COBOL V5.2-enabled assembler? On 30 May 2017 at 20:44, Farley, Peter x23353 <peter.far...@broadridge.com> wrote: > I can call the VS COBOL II RES program multiple times if I first LOAD > and call IGZERRE once (the LE version from CEE.SCEERUN), but using > IGZERRE and CEEPIPI together is not allowed either according to the migration > guide (cannot establish 2 different COBOL environments at the same time in > the same LE enclave, which makes sense to me). I'm unclear - are these old and new programs COBOL *main* programs or subroutines? They sound like main programs, but... I'm speculating here - never tried it, but if you are desperate... If you use CEEPIPI init_main_dp for the new COBOL environment, will it complain that there is already an active LE environment? What if you call CEEPIPI init_main_dp first, and then IGZERRE? In other words how does LE know (and why does it care in the PIPI case) that you have another environment active? Tony H. -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN