IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Macro not executing properly


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kisstian

New User


Joined: 06 Sep 2006
Posts: 6

PostPosted: Fri Sep 29, 2006 1:56 am
Reply with quote

Hi. I have a REXX macro that I'm working on and am having a bit of trouble with it. It's actually the last statement that isn't working properly. It looks like this:

Code:
"ISREDIT cut 28 40 "
"ISREDIT paste after .zlast "
"isredit locate 28"
"ISREDIT change 02# 021"


Even though I locate line 28, the change command is not making the change on this line. Rather, it does it on line 54. No matter what line I specify in the locate, it always makes the first change on line 54. I've tried just about everything I know of. Any advice? Thanks.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Fri Sep 29, 2006 9:41 am
Reply with quote

Hi,
I think you need to issue the SAVE command just before issuing the ISREDIT CHANGE.

-Han.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
Search our Forums:

Back to Top