On 22 November 2016 at 13:52, John McKown <[email protected]> wrote:
> Just to be my normal weird self, none of this will work in a REXX exec is
> run by reading it / creating it dynamically in memory and passing the
> in-memory EXEC to IRXEXEC.

Well, for some value of "none of this will work". If you are invoking
an EXEC that you have loaded into memory then it is your
responsibility to supply the info for Parse Source in the EXEC_BLK.
Put the appropriate info into into fields EXEC_DSNPTR and EXEC_DSNLEN.
In my experience you don't have to follow any particular rules, i.e.
it doesn't have to look like an actual DSNAME as long as it doesn't
exceed 54 characters. If that's not enough, you can pass up to 4096
characters in EXEC_EXTNAME_PTR, EXEC_EXTNAME_LEN. I have not played
with these latter fields.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to