× 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.



Best answer is probably to open it not and COBOL but as a text file - do the required splits and then re-save and edit as COBOL for the changes.

If it is a big project of course then writing a simple source manipulation program is the easy way to do it.


On May 26, 2020, at 12:37 PM, Paul Nicolay <paul.nicolay@xxxxxxxxxx> wrote:

Hi Jon,

It isn't a big problem splitting the lines, hower RDi really sees 8-72 as boundary so you can't use ALT-S as it leaves everything from position 72 on the original line.

Kind regards,
Paul
________________________________________
From: COBOL400-L <cobol400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Jon Paris <jon.paris@xxxxxxxxxxxxxx>
Sent: Tuesday, May 26, 2020 18:05
To: COBOL Programming on the IBM i (AS/400 and iSeries)
Subject: Re: [COBOL400-L] Longer lines

The source file can have longer lines but that won't help. Unless they made a change when the IFS option was added I don't think you can go beyond position 72 or whatever it is. I only have the 7.2 manual handy and there's no mention of an ANSI extension to allow longer lines.

Just out of interest what platform are you posting from? I've done a lot of conversions over the years and never seen extended source lines.



On May 26, 2020, at 11:51 AM, Paul Nicolay <paul.nicolay@xxxxxxxxxx> wrote:

Hi,


Migrating COBOL from another platform I see that many lines are longer as 72 positions.


Is there an option on IBM i COBOL to also allow longer lines or do I have to split them ?


Kind regards,

Paul
--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/cobol400-l.


--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/cobol400-l.


--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/cobol400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.