It depends upon what your cobol routine does ... if it issues an SVC (generally indirectly, for example by opening a file), then there is a potential system integrity issue as an SVC called by another SVC performs different checking of its environment than when called by the problem state program. This can lead to elevated privileges, which could be a problem. Another potential problem is if you statically link LE routines which are back-level (or rather, not relinked after an LE upgrade). Cobol code that uses no LE services is generally safe, but it is sometimes surprising what LE runs and when.
On Tue, Oct 15, 2024 at 2:30 AM Steff Gladstone < [email protected]> wrote: > Thank you Seymour and Binyamin. My LE question was sent before I saw > Binyamin's answer. > > On Mon, 14 Oct 2024 at 18:27, Binyamin Dissen < > [email protected]> wrote: > > > On Mon, 14 Oct 2024 16:53:20 +0300 Steff Gladstone > > <[email protected]> wrote: > > > > :>I hope the following question does not offend the ears (eyes?) of > > assembler > > :>purists. > > > > :>Can an SVC call a 3GL program (e.g. COBOL) using the SYNCH macro? Or > > must > > :>the entire code be pure assembler? We have some fairly complex code > > :>already written as a COBOL subroutine and were hoping to recycle it > > within > > :>the context of the SVC. > > > > Certainly. > > > > Though if cleanup isn't done you may eventually run out of storage. Not > > sure > > how you would clean up the COBOL pieces. But if your initial calling > > program > > that invokes the SVC is LE you should be fine. > > > > -- > > Binyamin Dissen <[email protected]> > > http://www.dissensoftware.com > > > > Director, Dissen Software, Bar & Grill - Israel > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
