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



I cannot speak to this being a system debugger problem but I know I have seen this in RDi quite often but I seems to me that I could just reference the DS in 5250 debugger and not encounter the error.

You can use all the EVAL commands in RDi that you use in the 5250 version, specifically indexing and substringing. When the Monitor Expression pop up appears type in array(idx) or array(idxA...idxB). For sub string its %SUBSTR( variably x y ).

-Matt

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Saturday, May 11, 2019 6: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

www.partner400.com
www.SystemiDeveloper.com

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.co
m_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvS
Z4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=hgyFz3Cm
Mi5jNe65mQIqx3wmHapwGxBY8n_inZVAXJw&s=2_w4f05tcdPOXdUhffj0FEO3JR7L9QVY
6FBzu64QTh8&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=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=hgyFz3CmMi5jNe65mQIqx3wmHapwGxBY8n_inZVAXJw&s=8giHy5CReVohgvt8APnGi4t92BxT81141z81Lyoom74&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.c
om&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8
HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=hgyFz3CmMi5jNe65mQIqx3wmHapwGxBY8n
_inZVAXJw&s=4BknltVhWwFDZgT2WztSMh1B10rYiPpQVfP_0tynPSw&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=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=hgyFz3CmMi5jNe65mQIqx3wmHapwGxBY8n_inZVAXJw&s=2_w4f05tcdPOXdUhffj0FEO3JR7L9QVY6FBzu64QTh8&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=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=hgyFz3CmMi5jNe65mQIqx3wmHapwGxBY8n_inZVAXJw&s=8giHy5CReVohgvt8APnGi4t92BxT81141z81Lyoom74&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=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=hgyFz3CmMi5jNe65mQIqx3wmHapwGxBY8n_inZVAXJw&s=4BknltVhWwFDZgT2WztSMh1B10rYiPpQVfP_0tynPSw&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.