Not to hijack this thread... but I often wondered why the "order" of some things matter on free form d-specs.
// This is not valid
dcl-ds myDS qualified extname('ExtFile');
RNF3529E Keyword is not allowed for a program-described data structure; keyword is ignored.
(extname is highlighted)
// This IS valid
dcl-ds myDS extname('ExtFile') qualified;
I guess it's "not so free form" free form? :)
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Barbara Morris
Sent: Thursday, January 31, 2019 12:34 PM
Subject: Re: Free format question on D specs
On 2019-01-25 1:43 PM, Tyler, Matt wrote:
Another is that they cannot be directly inspected in debug. If you use constants that are loaded from a copy book and you need to know what value it is you have to go back to the source to find out.
There's an RFE for debugging named constants:
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
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@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com