View previous topic :: View next topic
|
Author |
Message |
Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
You can do
Code: |
DO i=1 to n
ISREDIT C ' MGMTCLAS=R2, ' 'MGMTCLAS=R2, ' ALL
END |
where n would be the maximum number of spaces you would expect between '//' and 'MGMTCLAS' in any of your JCL. This way, at end of this loop there will only be //MGMTCLAS and no spaces in between. |
|
Back to top |
|
|
Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
Oops! Sorry, didn't see the second page of replies.. |
|
Back to top |
|
|
chidams78 Currently Banned New User
Joined: 29 May 2006 Posts: 59 Location: India
|
|
|
|
Thanks to all for this ISPF macro piece.
It worked. Now whichever way the MGMTCLAS=R2 is coded in the existing PROC, our ISPF macro finds it and cleans it off...:-) |
|
Back to top |
|
|
|