*NEW as a default? That's pretty scary.


Jon Paris
Jon.Paris@xxxxxxxxxxxxxx



On Aug 10, 2025, at 11:12 AM, Patrik Schindler <poc@xxxxxxxxxx> wrote:

Hello Gio,

Am 10.08.2025 um 15:11 schrieb gio.cot via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>:

I would like to know how do you setup the H-Spec/Ctl-Opt in your RPG programs : /copy o hardcoded spec H ?

Hard coded.

And which Keyword do you include in your H-Spec/Ctl-Opt ??

Example: https://github.com/PoC-dev/as400-sfltemplates/blob/main/v_lodallpg.rpgle

Usually, for production, I change the COPYRIGHT line to reflect the last changed date of the source member.

For ongoing development, I speed up compilation time by omitting OPTIMIZE(*FULL), but use it when the code is reasonably mature to not mess with it for the next days.

OPTIONs in general are very static. Reasonable amount of output for spotting errors without excess verboseness.

In short how do you manage H-Spec/Ctl-Opt in you rpg programs ?

Entirely manual. My projects are relatively small.

:wq! PoC


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.



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