Per the help on Compiler Directives:
" Directives can begin in column 7 or later."
Of course, there is also this: " Note: The compiler directive statements /FREE and /END-FREE are no longer used. If you specify them, they will be ignored."
Even though SEU is stabilized, it is ok with /free in any column 7 or greater. I just checked and it doesn't cause Return To Editing to be set to Y. Unless the OS level matters. V7R2 here.
Kurt Anderson
Sr. Programmer/Analyst - Application Development, Service Delivery Platform
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill Wragg
Sent: Monday, January 04, 2016 11:42 AM
To: 'RPG programming on the IBM i (AS/400 and iSeries)' <rpg400-l@xxxxxxxxxxxx>
Subject: RE: [Bulk] why getting this error? i have the semi colon
Free & end-Free must begin in column 7 /Free
@Location5 = %trim(@Location);
/end-free
C EXSR writeLoc
C EXSR upd67a
Bill
"A good friend will bail you out of jail, A true friend would be sitting beside you saying 'wow, that was fun!'"
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Hoteltravelfundotcom
Sent: January 4, 2016 11:24 AM
To: RPG programming on the IBM i / System i
Subject: [Bulk] why getting this error? i have the semi colon
@Location5 = %trim(@Location);
/end-free
C EXSR writeLoc
C EXSR upd67a
error getting:
A semi-colon is not specified at the end of a free-format specification.
--
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.
--
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.
As an Amazon Associate we earn from qualifying purchases.