Hi Douglas,

We consider this type of flaw (false positive) a defect because our goal is to enable Quick Fix in the future to help you remove un-used variables. We can't if they are really used.

Please contact IBM Support and open a case so we can fix this behavior.

Thanks for helping make RDi better for everyone!

Steve Ferrell
www.helpsystems.com



-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of DEnglander@xxxxxxxxxxxxxxx
Sent: Tuesday, February 11, 2020 10:57 AM
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Subject: [WDSCI-L] An RDi bug?

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.


I just encountered this, and was wondering if it is a bug or not:

I have an RPGIV program that uses an externally defined printer file. That printer file has a record defined as a few CHAR fields such as NUMBER, NAME, ADD1, ADD2, ADD3. The RPG program writes out to this record.

In the program, those fields are not defined as character fields, but as constants. In RDi, it tells me that those Constants are not referenced and has the lowercase blue "i" on the line. Even though those are not referenced in the program itself, they are used as fields in the printer file record. I am concerned that RDi is telling me these are not referenced, when they are referenced in the printer file.

Does anyone else see this?

I am using Version: 9.6.0.6

Thank you,
Douglas Englander


"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments accompanying it) contain confidential information belonging to the sender. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of the information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission."
--
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.