Thanks Edmund for trying. I've seen enough of your responses here to recognize your familiarity with the product.
It's possible that it's related only to the older versions (I guess). I'm working on moving up to 9.5 asap.
I'm not yet extremely familiar with RDi as I've only been using it for about 5 or 6 months. I've not yet learned how to modify RPG code to get around some of the restrictions that are part of using RDi. But I'm getting ready to help introduce it to my co-workers and need to be able to help them recognize some of the idiosyncrasies and how to work around them.
My co-worker is able to reproduce the same. He is on 9.1.1.1
I also recognize two things about me: 1) I don't always explain things well the first time and 2) I tend to over-explain things the second time. Below is my over-explanation in the hopes that it's more than enough to lead to the situation being replicable by someone other than me and my co-worker.
This short segment is enough to illustrate it.
H option(*srcstmt)
D l s 3 0
D m s 3 0
C z-add 1 m
C dou m = 999
C or cov(m) = 0
C add 1 l
C add 1 m
C if cov(l) < cov(m)
C eval *in99 = *on
C move cov(m) work72
C move cov(l) cov(m)
C move work72 cov(l)
C endif
C enddo
In the Outline "type filter text", when l ("el" not "eye") is typed, the following list occurs:
Fields
l:Packed Decimal(3,0)
7 (M)
9
12
13
m:Packed Decimal(3,0)
4 (M)
5
6
8 (M)
9
11
12
If m is typed, the following list occurs:
Fields
l:Packed Decimal(3,0)
7 (M)
m:Packed Decimal(3,0)
4 (M)
8 (M)
Indicators
*IN99
10 (M)
I'm guessing that the reason m shows up is because "L" is part of "Packed Decimal" as if all "l" variables are changed to "x" and x is used to as the "type filter text", the only field that shows up is x. M and the indicator aren't there. If after changing the "l"s to "x" and l is used as the "type filter text", M and X both appear as fields. Indicators aren't shown (I suppose because "l" isn't in the word "Indicator". (Note: "x" changed to "ec" and all "Packed Decimal"s show up, "ec" being part of "Decimal"? - change "ec" to "er" and it only shows "er". )
My concern is only that this needs to be recognized by anybody that uses one letter variables and that letter is part of the "reserved words" and or worse, "m", which really restricts being able to use outline to find all occurrences of a variable (except O-specs). It's very difficult to select filter for just a letter "M". You get way more than just the variable.
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Edmund Reinhardt
Sent: Wednesday, November 11, 2015 12:49 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] "M" apparently a special word in Outline
I can't reproduce that behaviour.
From: Duane Scott <dscott@xxxxxxxxxxx>
To: "wdsci-l@xxxxxxxxxxxx" <wdsci-l@xxxxxxxxxxxx>
Date: 11/11/2015 07:24 AM
Subject: [WDSCI-L] "M" apparently a special word in Outline
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
I am using RDi 9.1 and was wondering why, when filtering the Outline for the letter M, the outline does not show occurrences of source where M is uses as an array index. Is this also a feature of more recent versions?
It only occurs when M is used as the filter. If another letter is used, array index uses are shown as normal.
I recognize that "M" is a keyword for occurrences where the fields are "Modified", but I would think it important to ensure that other uses for M aren't ignored.
I searched the archives and couldn't find if this issue has been addressed before or fixed.
Duane
Duane M Scott
703-729-4677 ext: 8378
________________________________
________________________________
CONFIDENTIALITY NOTICE: This electronic message transmission is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. If you have received this transmission, but are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this e-mail in error, please contact NALC Health Benefit Plan at 703-729-4677 and delete and destroy the original message and all copies.
--
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@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
--
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@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
________________________________
________________________________
CONFIDENTIALITY NOTICE: This electronic message transmission is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. If you have received this transmission, but are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this e-mail in error, please contact NALC Health Benefit Plan at 703-729-4677 and delete and destroy the original message and all copies.
As an Amazon Associate we earn from qualifying purchases.