Hi Thomas,
The intent was never to require users to mark each sub-field unused. Which is why we added the preference to say if one field is used, consider them all un-used back in the 9608.
"Include annotations for subfields in named data structures" should drop the "named" and work for ALL data structures.
Once we properly honor that rule, users won't NEED to mask individual un-used fields in data structures.
Steve Ferrell
Principal Software Engineer Lead RDi
Fortra, the new face of HelpSystems
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Thomas Raddatz
Sent: Friday, January 26, 2024 1:52 AM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDi 9.8.0.1 & @IGNORE
External: Pause and review the sender's email address, any URLs before clicking links, opening attachments, or following requests. When in doubt, contact the Service Desk.
Almost correct. It seems to work for standalone fields but not for sub-fields of data structure:
// @ignore-unused
dcl-s unusedField char(10); // works
// @ignore-unused // does not remove unsed markers of the $$fkey sub-fields dcl-ds *N;
scrnFKeys char(18) dim(32) inz; // this field is used
// @ignore-unused
$$FKey01 char(18) pos(1); // $$fkeys are unused and the marker cannot be removed
$$FKey02 char(18) pos(19);
Thomas.
-----Ursprüngliche Nachricht-----
Von: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> Im Auftrag von Mike Hockings
Gesendet: Donnerstag, 25. Januar 2024 16:03
An: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Betreff: Re: [WDSCI-L] RDi 9.8.0.1 & @IGNORE
ACHTUNG: Diese E-Mail stammt von einem externen Absender. Klicken Sie nicht auf Links und öffnen Sie keine Anhänge, solange Sie den Absender nicht erkennen und wissen, dass der Inhalt sicher ist.
If you add a comment line before the unused use with @ignore-unused it does not supress the blue bang for the unused symbol?
Like:
// @ignore-unused
dcl-pr TESTDBG end-pr;
Mike
---
Mike Hockings, M.Eng.
IBM Rational Developer for System z and Power Systems Software Technical Support IBM Canada Ltd. Laboratory hockings@xxxxxxxxxx voice 1-905-413-3199 T/L 313-3199 ITN 23133199
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Justin Taylor <jtaylor.0ab@xxxxxxxxx>
Date: Thursday, January 25, 2024 at 09:23
To: wdsc <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: [WDSCI-L] RDi 9.8.0.1 & @IGNORE IBM support sent me a link on how it's supposed to work. It doesn't work for me.
https://www.ibm.com/docs/en/rdfi/9.8.0?topic=editing-annotate-unreferenced-definitions
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l .
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.