On Mon, 11 Jan 2021 15:37:55 +0000, Sean Gleann wrote:

>Many thanks to all who responded.
>I opted to adapt and (try to) use the REXX that Andy Styles gave, but I'm
>tripping up over something that has to be one of those 'simple, basic'
>things.
>The "ISPEXEC CONTROL ERRORS RETURN" command gives me RC(20) as a result.
>I think I've got to use an 'ADDRESS ISPEXEC' command or something like that
>at the start of the REXX, but attempts at variants of this give the same
>result.
> 
You need to run your Rexx under ISPF, which implies you need to run under TSO.
This can all be done in batch, with suitably complex DD statements.

Otherwise, RC(20)

-- gil

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

Reply via email to