MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Show only lines that have been changed

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
danm
Intermediate


Joined: 29 Jun 2004
Posts: 170
Topics: 73

PostPosted: Tue Apr 15, 2008 9:12 am    Post subject: Show only lines that have been changed Reply with quote

When I edit a file of 1000 lines and issue the command 'change abc xyz all', all changed lines are labeled with '==CHG>" . Is there a way to show only those lines with '==CHG>' on them? The EXCLUDE command doesn't work on label.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Apr 15, 2008 9:53 am    Post subject: Reply with quote

Code:

/* REXX  */
ADDRESS ISPEXEC "CONTROL ERRORS RETURN"
ADDRESS ISREDIT
"MACRO"
"X ALL"
RTCD = 0
DO WHILE RTCD = 0
   "LOCATE CHG"
   RTCD = RC
END
"TOP"


_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
CraigG
Intermediate


Joined: 02 May 2007
Posts: 202
Topics: 0
Location: Viginia, USA

PostPosted: Tue Apr 15, 2008 9:53 am    Post subject: Reply with quote

X ALL;CHANGE ABC XYZ ALL

Then all the lines that were changed will show.
Back to top
View user's profile Send private message
danm
Intermediate


Joined: 29 Jun 2004
Posts: 170
Topics: 73

PostPosted: Wed Apr 16, 2008 9:43 am    Post subject: Reply with quote

GraigG,

This is exactly what I am looking for. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group