Steve,
My break-point was actually on Statement 916.00. I just highlight the statement where the varchar(4) was declared. I understand how that can misleading. I use the neat feature of the highlighter. Love that feature!
But, regardless, I will do that that again.
Maybe this screen shot might help.
https://imgur.com/a/lSjtYGt
PS. Due to my bad eye-sight, I use blue to highlight my current line in Lpex preferences. And I change my debugger to highlight in RED-DASH-box. So, I can still see my pretty syntax colors. RDI is really a great product! I just get confused when thing don't work. I am using a service program technology from last century. Maybe that confuses the debugger?
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Steve Ferrell via WDSCI-L
Sent: Tuesday, September 10, 2019 7:54 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc: Steve Ferrell <Steve.Ferrell@xxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] CPF7E15 Cannot Change variable? Why?
Hi Ken,
Try doing it after you step one more step. I'm guessing it's not inz'd until the step completes. Again, it's a guess since I don't work on the debug team. (Normally CPF7E12 means it's out of scope, or in this case not inzd?)
And if you were able to set it prior to that statement, the inz keyword would process it as spaces once that step completes.
Steve Ferrell
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Ken Killian
Sent: Tuesday, September 10, 2019 6:29 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] CPF7E15 Cannot Change variable? Why?
https://imgur.com/a/5ppEHdt
Image of RDI 9.6.0.6. Not able to change varchar(4) in debug...
I guess IBM does not think being able to change a variable in debug is Important. Does not work as well as Microsoft Debugger. That is shame...
-Ken Killian-
-----Original Message-----
From: Ken Killian
Sent: Tuesday, September 10, 2019 7:11 AM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries' <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: [WDSCI-L] CPF7E15 Cannot Change variable? Why?
Thanks Paul, But I do not consider a varchar(4) large...<LOL>
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Paul Therrien
Sent: Monday, September 9, 2019 7:19 PM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries' <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] CPF7E15 Cannot Change variable? Why?
I have only ever seen this when the value I am trying to change the value to does not match the size of the variable.
And it was a very large variable.
Paul
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Ken Killian
Sent: Monday, September 9, 2019 3:00 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [WDSCI-L] CPF7E15 Cannot Change variable? Why?
Hi,
What is the problem with RDI 9.6.0.6, when I cannot change a variable in Debug?
I get the pop-up CPF7E15...
Unable to change the variable. How do I resolve this?
-Ken Killian-
--
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
--
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
--
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
--
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.