Wouldn't it be easier to do any control block manipulation in the glue code?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Saturday, February 28, 2026 10:00 PM To: [email protected] <[email protected]> Subject: Re: Is anyone familiar with CEEPIPI (LE pre-initialization)? External Message: Use Caution On Sun, 1 Mar 2026 02:39:52 +0000, Seymour J Metz wrote: >Other than the C++ runtime it's a piece of cake. You need glue code callable >from REXX to initialize and terminate the C++ code. The glue code can read and >write REXX variables. The CALL interface supports multiple string parameters >and returning a string value. Any address you need to pass would be stored in >a 4 (31 bit) or 8 (64 bit) character string. I see no need to convert it to >hexadecimal, but there's a BIF if you want to display debugging information. > ... C2X() might be needed to format an address argument for STORAGE(): <https://www.ibm.com/docs/en/zos/3.2.0?topic=tef-storage> >Note: I'm not saying that the C++ side is harder, just that I don't know. -- gil ---------------------------------------------------------------------- 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
