Rexx Macro Help



IBM's Command List programming language & Restructured Extended Executor

Rexx Macro Help

Postby jayaprakasamj » Sun Jun 25, 2017 6:59 pm

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)
You do not have the required permissions to view the files attached to this post.
jayaprakasamj
 
Posts: 2
Joined: Sun Jun 25, 2017 10:36 am
Has thanked: 0 time
Been thanked: 0 time

Re: Rexx Macro Help

Postby enrico-sorichetti » Sun Jun 25, 2017 8:03 pm

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Rexx Macro Help

Postby willy jensen » Mon Jun 26, 2017 1:08 pm

short answer, you must issue the ISPEXEC END command also when RC>0 after the FIND.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: Rexx Macro Help

Postby jayaprakasamj » Thu Jun 29, 2017 8:44 am

Thank you Enrico and willy. Got it resolved. Thanks Again :D
jayaprakasamj
 
Posts: 2
Joined: Sun Jun 25, 2017 10:36 am
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post