What are you trying to do, on what platform? In many cases, calling a command, main program or subroutine just requires using the ADDRESS statement with an appropriate environment. If you want the program to access Rexx variables, or to return a value to REXX, then you need a bit more plumbing, but it's pretty straightforward. Regina comes with header files for C, so it shouldn't be any more difficult to write a Rexx-aware routine in C than it is in assembler.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Rick Troth [[email protected]] Sent: Tuesday, April 25, 2023 8:29 AM To: [email protected] Subject: interfacing C with Rexx hello I have a project where I want to call C from Rexx. I've done this with Regina several times. Can someone tell me how, or point to doco, or (best) lend a hand, calling C from ooRexx? danku -- R; <>< ---------------------------------------------------------------------- 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
