My advice is to write a command processor. As I said creating an LE environment for each function call will result in terrible performance. I’ve done this many times https://github.com/daveyc/RTK. The trick is to use CEEPIPI to create a pre-initialised LE environment and hang the pointer in USERFIELD of the REXX environment block. An alternative is to use Python instead. It’s dead easy to write packages in C/C++ without jumping through hoops. Writing REXX extensions in LE languages is painful which is one of the reasons why I don’t use REXX.
> On 16 Nov 2023, at 9:24 am, Eric Erickson <esf...@windstream.net> wrote: > > First of all thanks to Colin for sending me the headers. Before I went down > the path of generating them myself, I want to see what other had experienced > trying to do this. > > I can't use Metal C, as the routines I want to call out of the functions are > not supported under Metal C. > > FWIW, I was looking at creating a Rexx Function to retrieve a record from a > EZNOSQL Database and return it in the Rexx Variable for use. IBM has C/Java > APIs for EZNOSQL, but not Rexx at this time. There is an idea logged to > create it, but its marked as future consideration, so no telling when (or if) > it will appear. > > ---------------------------------------------------------------------- > 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