Hi,
Make one comment line with a * in the position after the A, then use C to copy the comment line and use OO to start and end the block of lines to be commented.
<pre>
C A*
OO A
A
A
OO A
</pre>
Will give you :-
<pre>
A*
A*
A*
A*
A*
</pre>
Regards,
Martin Gilbert.
Last Wiki Answer Submitted: May 6, 2009 12:40 pm by Gilly40023,625 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
If you want to delete the commented lines you can use block delete (DD at the start and end of your block of lines).
If you wan to un-comment the lines that’s a bit more tricky :-
You can exclude all the lines you don’t want to change using XX to start and end blocks, then use F14 to find and replace A* with A, specify 3=non-excluded for records to search and N for allow data shift. Press F5 to redisplay all the excluded lines after the change has been processed.
Thanks Martin for your reply. Is it possible to remove a group of commented code? Please help…thanks
Hi,
If you want to delete the commented lines you can use block delete (DD at the start and end of your block of lines).
If you wan to un-comment the lines that’s a bit more tricky :-
You can exclude all the lines you don’t want to change using XX to start and end blocks, then use F14 to find and replace A* with A, specify 3=non-excluded for records to search and N for allow data shift. Press F5 to redisplay all the excluded lines after the change has been processed.
Regards,
Martin Gilbert.