Re: Simple C language dynamic CALL's?

2023-03-20 Thread David Crayford
To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Simple C language dynamic CALL's? > > Function pointers and fetch() > > https://www.ibm.com/docs/en/zvse/6.2?topic=c-edcxbf11 > >> On Sun, 19 Mar 2023, 15:02 Farley, Peter, < >> 031df298a9da-dmarc-requ...@listserv

Re: Simple C language dynamic CALL's?

2023-03-20 Thread Jantje.
On Sun, 19 Mar 2023 20:01:30 +, Farley, Peter wrote: >Or is there a simpler (non-DLL) way to set up single-procedure dynamically >called subroutines in C? > Did you look at the pragma linkage options ? Cheers, Jantje.

Re: Simple C language dynamic CALL's?

2023-03-19 Thread Farley, Peter
language dynamic CALL's? Function pointers and fetch() https://www.ibm.com/docs/en/zvse/6.2?topic=c-edcxbf11 On Sun, 19 Mar 2023, 15:02 Farley, Peter, < 031df298a9da-dmarc-requ...@listserv.ua.edu> wrote: > The major z/OS programming languages (COBOL, PL/I, HLASM) allow one to

Re: Simple C language dynamic CALL's?

2023-03-19 Thread Farley, Peter
On Behalf Of Charles Mills Sent: Sunday, March 19, 2023 8:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Simple C language dynamic CALL's? Is a DLL *not* simple? (Serious question. I have never done it but isn't it just a couple of compile and link options?) Does the system() call solve your

Re: Simple C language dynamic CALL's?

2023-03-19 Thread John McKown
Function pointers and fetch() https://www.ibm.com/docs/en/zvse/6.2?topic=c-edcxbf11 On Sun, 19 Mar 2023, 15:02 Farley, Peter, < 031df298a9da-dmarc-requ...@listserv.ua.edu> wrote: > The major z/OS programming languages (COBOL, PL/I, HLASM) allow one to > write a subroutine and separately

Re: Simple C language dynamic CALL's?

2023-03-19 Thread Charles Mills
Is a DLL *not* simple? (Serious question. I have never done it but isn't it just a couple of compile and link options?) Does the system() call solve your need? Charles -- For IBM-MAIN subscribe / signoff / archive access

Simple C language dynamic CALL's?

2023-03-19 Thread Farley, Peter
The major z/OS programming languages (COBOL, PL/I, HLASM) allow one to write a subroutine and separately compile and link it and then call that subroutine dynamically at runtime without a whole lot of fuss. I think even VS FORTRAN programming supports this capability. >From the reading I have