Page 1 of 1

Rexx Macro Help

PostPosted: Sun Jun 25, 2017 6:59 pm
by jayaprakasamj
Hi All,
I am new to this forum, I need help on Rexx Macro. I am creating a rexx macro that find a word in each of the member in a pds, with the found word doing change all command. Macro is working as expected But when the change value not found in the member, member keeps opening in edit mode. Macro is not closing automatically though I have ISREDIT END (tried ISPEXEC END as well) command. Please help me solve this. Attaching Macro. Thanks in Advance. (I searched many forums to get the answer for this, but couldn't pull anything)

Re: Rexx Macro Help

PostPosted: Sun Jun 25, 2017 8:03 pm
by enrico-sorichetti

Re: Rexx Macro Help

PostPosted: Mon Jun 26, 2017 1:08 pm
by willy jensen
short answer, you must issue the ISPEXEC END command also when RC>0 after the FIND.

Re: Rexx Macro Help

PostPosted: Thu Jun 29, 2017 8:44 am
by jayaprakasamj
Thank you Enrico and willy. Got it resolved. Thanks Again :D