Hi Mark,

Please contact IBM Support so we can address this issue.

We agree that you should not need to reference a primary file field name to have it no longer be marked un-used.

Steve Ferrell
w. www.helpsystems.com



-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mark Murphy
Sent: Monday, January 27, 2020 10:35 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [WDSCI-L] Primary files tagged as unused

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.


This has probably always been an issue. It certainly was in 9.6.0.5, but I upgraded RDi to 9.6.0.6, and Primary files are tagged as unused unless they are explicitly used. Both Primary and Secondary files should never be tagged as unused since there is implicit code in the cycle that reads them.

Yes, I know, use **free, no cycle there. Don't use the cycle, and all that jazz. But, we already have hundreds of programs that read through a file and do the same thing to every record. These have been written using the cycle, and I see no reason to rewrite them.

Every one of these programs show that the primary file (which is input
only) is unused, and if I click the button on the outline that hides unreferenced definitions, the primary files are hidden every time.

These files are all defined as Input Primary.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (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.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

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