On Fri, 1 Dec 2017 15:09:07 -0600, John McKown wrote: >On Fri, Dec 1, 2017 at 1:40 PM, Tom Marchant wrote: >> >> Can you run both programs in one step? Perhaps the first one calls the >> second, or they are both called by a third program. The third program can >> pass an area for the first to save the info and the second to retrieve it. >> I'd call that a specific rather than a general solution.
>I didn't go into the really weird experimentation that I'm doing. I'm a >just "messing around" with the BPX1EXM (execmvs) UNIX function. ... > Does BPX1EXM pass descriptors? Environment variables? I'd consider the latter less likely. >Now, I can pass up to 32767 bytes from my program to the next >program via the standard "batch" PARM= equivalent. This can be arbitrary >byte values (range x'00' to x'FF'). So I'll probably just use that >facility. Hopefully I will never need more than 32767 bytes. Hum, could it >really be x'FFFF' bytes? I'll need to check that out. > Depends. Using Rexx address ATTCHPGM, I've called BPXBATCH with x'FFFF' byte parm and orderly behavior. With HLASM I've passed X'7FFF' byte parm and orderly behavior; with x'8000', HLASM program checked after issuing several hundred thousand lines of error messages. LH with sign extension? How much should the called routine validate PARM? Verify length? Verify that PARM lies within addressable memory? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
