Re: Mixing **free, non **free source, and column specific RPGLE
Vern Hamberg via RPG400-L <[email protected]>
| Newsgroups | gmane.comp.lang.as400.rpg |
|---|---|
| Message-ID | <[email protected]> |
Hi From both the ILE RPG Reference and Programmer's Guide is this statement - 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. I did not see anything about having **free in a copy member that is listed in free (not **free) or fixed format, I also haven't tried that. *Regards* *Vern Hamberg* IBM Champion 2025 <cid:[email protected]> CAAC (COMMON Americas Advisory Council) IBM Influencer 2023 On 1/27/2026 3:48 PM, [email protected] wrote: > We have a number of copybooks (mostly D-Spec stuff) that are pulled into > programs at compile time. Some are **free format, some are regular free > format (column 8), and some are old fashioned RPGLE (D in column 6). I > haven't seen any issues with these getting mixed together in a program. > Apparently the compiler is smart enough to handle it but I thought I'd see > if anyone knew of any issues or anything to be aware of. > -- This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l. Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.