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



Birgitta - I think your description of fully-free does not match the manual - here is the bit from the 7.2 ILE RPG Reference

RPG source with the special directive **FREE in the first line contains only free-form code. The code can begin in column 1 and extend to the end of the line.

There is no practical limit on the length of a source line in fully free-form source.

Fixed-form code is not allowed in fully free-form source, but column-limited source which uses only columns 6-80 can be included by using the /COPY or /INCLUDE directive.


As I read this, **FREE must be in line 1. The entire source text must fe free-format. And any include member that is limited to columns 6-80 can be included. That would be either fixed or free format.

Am I missing something? Or did Barbara change something since the last post in RPG Cafe?

Regards
Vern

On 2/12/2016 12:15 AM, Birgitta Hauser wrote:
With the appropriate PTFs you can code completely free in RPG.
If you specify **FREE in position 1 in a row in your source code, all
subsequent RPG statements must be completely free and can be written between
position 1 and the length of your source file.

Within your source code there is no way to go back to fixed format P, F-, D,
C-Specs.

i.e. if you want to add new code at the end of an existing source, you can
continue in completely free, by specifying *FREE after the existing source
code.
But it is not possible for example to include a copy-member in this
completely free source code that includes fixed format specs.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"


-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im Auftrag von Alan
Campin
Gesendet: Friday, 12.2 2016 00:47
An: RPG programming on the IBM i / System i
Betreff: Line longer than 80 characters

Anyone heard anything more on being able to have lines longer than 80
characters in RPG? The ability to use positions 1 through 6 and 81 out for
code.

The last I heard about it was waiting for PTF's to implement in RPG
compilers.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.