× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Steve,

I was remote and contacting the system over VON over the weekend, so I'll try again today now that I'm back in the office. Either way, I ran the verify connection and the only PTF missing is related to compiling CL source files stored on the IFS. As an aside, the original definition of the DS structure had to be backed down to a smaller size since all of the fields and number of iterations broke the 16M limit (this needs to go away). The original issue we were working on was parsing a portion of the JSON document, and although I've not yet been able to prove it, I believe the parser is getting confused due to the complexity of the document combined with the attempt to only parse part of it. As soon as I added the definitions for the remainder of the complete structure I started getting the message complaining that the DS exceeds 16 million bytes.

Thank you for your test effort... it helps verify that we can at least drill down into a complex structure. More to come!

Doug

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Steve Ferrell via WDSCI-L
Sent: Monday, May 13, 2019 7:19 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: [EXTERNAL] Re: [WDSCI-L] RDI 9.6.0.5 - DBGE0001E Expression DS is too complex

Hi Doug,

I did a quick test program setting the following code:

DS.Section1(1).SectionA(1).Section2(1).SectionB(1).field3 = 'Hello';

And was able to drill in and see the value (7.3 and up to date on PTF).

Can you do a "Verify Connection" and verify that you are up to date on PTFs?

Go to the connection, expand and right click on Objects and select the menu option Verify Connection. Expand the section named Checking PTFs and look at the IBM I Integrated Debugger. It should say successful. If it says PTF missing, expand and see what PTFs you are missing and update the PTF.

Hope this helps!

Steve Ferrell
w. https://urldefense.proofpoint.com/v2/url?u=http-3A__www.helpsystems.com&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=GeUqA90inx9KkqWz_7b2hFHsY4_GXyBc4BrvTgThD5s&e=



-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jon Paris
Sent: Saturday, May 11, 2019 7:23 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDI 9.6.0.5 - DBGE0001E Expression DS is too complex

If I recall correctly this is not an RDi limit but rather the system debugger. I _think_ there are techniques to get round it but not sure if they are applicable to RDi.

Don't have time to research it right now but I suspect if you check the RPG and/or Midrange forums you'll find an earlier discussion.

One quick fix would be to create a duplicate of the structure you want to debug (or a simple char field of appropriate size) and base it on the address of the nested Ds you want to view.



Jon Paris

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.partner400.com&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=NY1EECAuvgE-VkvU4kVmcVEGpSXgZ2v2p3GR8Uz30ps&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.SystemiDeveloper.com&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=ljihciXyCBukfeIKINk0bUsw_STra3BJByJOfWw8x0k&e=

On May 11, 2019, at 4:10 PM, Bak, Doug (LMF) <Doug.Bak@xxxxxxxxxxxxxx> wrote:

I'm attempting to debug newly written code that is parsing JSON into a multi level data structure and running into this message.
Is there a limit that RDi can traverse into a data structure?

Not the actual code, but here in order to maintain the structure of the incoming document, here's the basic structure.
The DBGE0001E message appears when attempting to expand SectionA.

dcl-ds DS qualified;
field1 varchar(10);
field2 varchar(10);
field3 varchar(10);
field4 varchar(10);
dcl-ds Section1 dim(2);
field1 varchar(10);
field2 varchar(10);
field3 varchar(10);
dcl-ds SectionA dim(10);
field1 varchar(10);
field2 varchar(10);
field3 varchar(10);
dcl-ds Section2 dim(2);
field1 varchar(10);
field2 varchar(10);
field3 varchar(10);
dcl-ds SectionB dim(10);
field1 varchar(10);
field2 varchar(10);
field3 varchar(10);
end-ds;
end-ds;
end-ds;
end-ds;
field5 varchar(5);
end-ds;

Thanks,
Doug
--
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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=aPS2ZBwN9QNDWz8w_Rprn5NowYf0lRjlIM9cDGaAmGE&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=uuc8i2jpLxjcc-rnA-8f41Eyxn48R97oiKnGIaTURbs&e=.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=XVrKlm95RTHnU0qIJuDxRi5oiUHSBf9HfKnI3ihVroM&e=

--
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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=aPS2ZBwN9QNDWz8w_Rprn5NowYf0lRjlIM9cDGaAmGE&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=uuc8i2jpLxjcc-rnA-8f41Eyxn48R97oiKnGIaTURbs&e=.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=CSVGUH9K2sjuUdV9d1Nk9-oZkPvcIqPf4w21vwckX2o&s=XVrKlm95RTHnU0qIJuDxRi5oiUHSBf9HfKnI3ihVroM&e=

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