Scott -

Its not an issue to call between Cobol and C if one is using  the
non-XPLINK runtime for the C programs.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

On Mon, Sep 22, 2014 at 9:45 AM, Scott Ford <
[email protected]> wrote:

> Kirk:
>
>
> I called A Cobol routine(s) in C without an issue …threaded , the threads
> started in C.
>
>
>
> I have code if you would like to see
>
>
>
> Regards,
>
> Scott
>
> www.identityforge.com
>
>
>
>
>
> From: Kirk Wolf
> Sent: ‎Monday‎, ‎September‎ ‎22‎, ‎2014 ‎10‎:‎38‎ ‎AM
> To: [email protected]
>
>
>
>
>
> Thanks Don,
>
> That is a pretty good idea, but not quite what I was looking for since
> BPX1ATM would not be synchronous.   I suppose that I could follow it with
> BPX1WAT to reap the child process return code.   So this combination is
> probably one way to do it without Assembler.
>
>
> Kirk Wolf
> Dovetailed Technologies
> http://dovetail.com
>
> On Mon, Sep 22, 2014 at 9:21 AM, Don Poitras <[email protected]> wrote:
>
> > I would think you could call BPX1ATM (attach_execmvs()) from COBOL.
> >
> > In article <CAHm_n2k3Y6YPjiF30BFYBhqFhvSgo0dub2wdVNne2K=
> > [email protected]> you wrote:
> > > We have a batch utility program that is built in C that uses the XPLINK
> > > version of the C runtime.    A customer would like to "dynamically"
> call
> > > this from COBOL, but of course the LE runtimes are not compatible:
> >
> > > IGZ0179S A dynamic call to COZBATCH failed because the load module
> > contains
> > > one
> > >  or more routines with XPLINK linkage.
> >
> >
> > > Is it possible to do the equivalent of a Assembler "LINK" (separate RB
> > and
> > > LE runtime environment) from COBOL without writing an Assembler stub
> > > routine?
> >
> > > Thanks,
> >
> > > Kirk Wolf
> > > Dovetailed Technologies
> > > http://dovetail.com
> >
> > --
> > Don Poitras - SAS Development  -  SAS Institute Inc. - SAS Campus Drive
> > [email protected]           (919) 531-5637                Cary, NC 27513
> >
> > ----------------------------------------------------------------------
> > 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
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to