Page 1 of 1

purge comment and blank line

PostPosted: Wed Feb 08, 2012 9:16 pm
by Mehdi shri
Dear friends.
How I can delete comment and blank line from a source at a one time? (My means: Not to type D in each line and then press enter)

Re: purge comment and blank line

PostPosted: Wed Feb 08, 2012 9:52 pm
by enrico-sorichetti
write an edit macro...
or use the sequence
exclude all
find all <what identifies a blank line >
find all <what identies a comment>
del NX all

Re: purge comment and blank line

PostPosted: Sun Feb 12, 2012 7:54 pm
by Mehdi shri
Mr. enrico-sorichetti
Can you explain more. I'm new in mainframe an TSO.
Thanks.

Re: purge comment and blank line

PostPosted: Sun Feb 12, 2012 7:58 pm
by enrico-sorichetti
ispf PF1 is Your friend

EXCLUDE, FIND, DELETE are ISPF commands and the explanation can be found in the manuals
startin from here
http://publibz.boulder.ibm.com/cgi-bin/ ... s/ISPZPM70