On Fri, 5 Sep 2025 15:05:59 -0500, Paul Gilmartin <[email protected]> wrote:

>Still, ISREDIT should be aware that this is the first MACRO

A second "ISREDIT MACRO" within the same macro was detected and caused the edit 
macro to terminate. An edit macro continues into REXX "CALL"s and REXX function 
calls.

>after a recent  invocation of your macro.  Feels like an
>Idea for a RFE.

This is exactly what is expected. Ignoring the second ISREDIT MACRO (var, var, 
...) means the vars are not set correctly.

>Alas, when I tried to LMINIT a ddnane allocated 
>to a UNIX path it failed for no good reason.

Is a UNIX path now a LIBRARY? "LM" stands for "Library Manager". Seems like a 
good reason.

>I have successfully used this:
>    address 'ISREDIT' 'MACRO (Arg1)'   /* Use Edit macro argument  */
>    if RC<>0 then Arg1 = arg( 1 )      /* else use Rexx argument.  */

This assumes every non-zero RC means ISREDIT MACRO failed. Look at the RC's for 
the command to see if there are warnings and that using REXX args is invalid.

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

Reply via email to