On Thu, 12 Oct 2023 15:28:07 -0500, Jon Perryman <jperr...@pacbell.net> wrote: >* Creating REXX compatible control block mapping is fast and simple > using the technique. Instead of coding BLSQ macros, create a table of names > with offsets that the REXX will use to convert names to offsets. > Call the program using ADDRESS LINKPGM passing the desired field name.
After thinking about it, I was wrong about REXX ADDRESS LINKPGM. I think I called the program as a REXX function call (maybe REXX call) and returned the result as a REXX response returned from the function call. It should be documented in the REXX manuals. I had to do it so much that I had a macro so I can't remember how to code it. If the program can't find the offset, the program should return a -1 (standard REXX failure code). ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN