Hi Darren,
I have reproduce it, it is a bug. Please open a PMR.
Regards,
Edmund (E.H.)
Reinhardt
Technical Architect for Rational Developer for i
Phone: 1-905-413-3125 | Home: IBM
1-905-854-6195
E-mail: edmund.reinhardt@xxxxxxxxxx 8200 Warden Ave
RDi Community: ibm.biz/rdi_hub Markham, ON L6G 1C7
Find me on: LinkedIn: Canada
http://ca.linkedin.com/in/edmundreinhardt/
From: Darren Strong <darren@xxxxxxxxx>
To: "midrange-WDSC WDSC message board" <wdsci-l@xxxxxxxxxxxx>
Date: 26/04/2016 09:32 AM
Subject: [WDSCI-L] Marking occurences of given entity bug or misuse?
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Playing with RDi 9.5.0.3
I have the following source snippet, and when I click on ScnDta and ScnDta1
with the "Marking occurences of given entity" toggled on, it doesn't mark
other instances, or put an arrow beside the line to indicate it realized
that it recognizes what I'm doing.
I played with it, and I found that if I specify a likeds(xxx) for a valid
data structure template, that clicking on the data structure declaration
doesn't work, but if I create a likeds(xxx) for something I haven't
defined, like ScnDtaBad in this case, that the marking occurences function
works. So, clicking on ScnDta2 does work for me.
I'm confused. Am I doing it wrong, or is this a bug?
dcl-ds ScnDta_t qualified template;
Sts uns(3);
Typ uns(3);
end-ds;
//****************************************************************
// Begin Calculation Specifications
//****************************************************************
dcl-s Scn1 ind;
dcl-s Scn2 ind;
dcl-ds ScnDta likeds(ScnDta_t) INZ;
dcl-ds ScnDta1 likeds(ScnDta_t) INZ;
dcl-ds ScnDta2 likeds(ScnDtaBad) INZ;
//************
ScnDta=ScnDta1;
ScnDta2=ScnDta;
___________________________________
Darren Strong
Dekko
Phone 260-599-3570
Fax 260-599-3215
--
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.
As an Amazon Associate we earn from qualifying purchases.