Hi Thomas,
Quite right. It is yet another case where the bold statement of “it doesn’t work” is not a clear problem definition and a reminder that being concise in the problem statement and providing an example or steps right off would lead to a faster solution?
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 Thomas Raddatz <thomas.raddatz@xxxxxx>
Date: Friday, January 26, 2024 at 02:52
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: [WDSCI-L] RDi 9.8.0.1 & @IGNORE
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.