× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The information is lost anyway because the compiler complains and then
it is extremely time consuming to go thru every line and manually delete
the offending characters.  Prior to V5R4 the compiler ignored anything
in cc1-5 now it doesn't.

There are several options available to you, all rely on the idea that you want to erase the first 5 columns.

Record keystrokes Home, space x 5, down arrow
Play it back over every line.

Use block overlay to overlay a hunk of spaces over the top of columns 1-5. (Alt-R, Alt-R, Alt-Z)

Use LLT5 on line 1, llt5 on the last line (sequence number commands) then RR5, RR. This will shift all lines left 5 and truncate the first 5 columns, then shift 'em all back. You WILL get syntax errors, but they'll go away when you RR5 the lines back.

Go to the top, Alt-L, go to the bottom, Alt-L (select all lines as a block) then slowly use Alt-F7 to shift left -- Lpex will throw errors so you have to wait for the syntax checker to moan about your (now) crappy code before you ust Alt-F7 again. Do that 5 times, then do Alt-F8 5 times. Alt-U when done.

Write a macro to do it. (too much for me at the moment; I'd open it in Code and do it in Rexx. That's not a gripe as much as an admission of my own laziness.)
  --buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.