Re: Non-L/E assembler program calling L/E Cobol program
I call LE C++ from non-LE assembler programs by first creating a Language Environment for them using IBM pre-initialization services. Check out CEEPIPI in chapter 30 of the following... https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3sa380682/$file/ceea200_v2r3.pdf I suppose it depends on your use case and whether you need greater control of execution environment attributes, and probably other factors I'm unaware of. HTH, Mike -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Tuesday, November 17, 2020 9:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Non-L/E assembler program calling L/E Cobol program Caution! This message was sent from outside your organization. I call LE C++ from non-LE assembler and Rexx with no issues. It's just like calling any other program; just like calling IEFBR14. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Clark Morris Sent: Tuesday, November 17, 2020 6:26 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Non-L/E assembler program calling L/E Cobol program [Default] On Tue, 17 Nov 2020 10:52:49 -0800 (PST), in bit.listserv.ibm-main Joe DeChirico wrote: >Hi > >I have a need for a non-l/e program to call an l/e cobol program, are >there any examples of this sort of call? > >Is it even possible? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Non-L/E assembler program calling L/E Cobol program
I call LE C++ from non-LE assembler and Rexx with no issues. It's just like calling any other program; just like calling IEFBR14. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Clark Morris Sent: Tuesday, November 17, 2020 6:26 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Non-L/E assembler program calling L/E Cobol program [Default] On Tue, 17 Nov 2020 10:52:49 -0800 (PST), in bit.listserv.ibm-main Joe DeChirico wrote: >Hi > >I have a need for a non-l/e program to call an l/e cobol program, are there any examples of this sort of call? > >Is it even possible? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Non-L/E assembler program calling L/E Cobol program
[Default] On Tue, 17 Nov 2020 10:52:49 -0800 (PST), in bit.listserv.ibm-main Joe DeChirico wrote: >Hi > >I have a need for a non-l/e program to call an l/e cobol program, are there >any examples of this sort of call? > >Is it even possible? Others either have or will point you to the correct ways of doing what you want. You might consider replacing the Assembler program with a COBOL program because Enterprise COBOL is a lot more powerful than COBOL VS (the 1974 standard) and may well have all of the function needed. I suspect many shops may still be stuck in a COBOL VS mindset. If you want to discuss this offline, my e-mail is cfmt...@uniserve.com Clark Morris > >Thanks > >Joe DeChirico -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN