That's good news that IBM was able to reproduce. Good luck.

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Charles Wilt
Sent: Monday, March 30, 2020 10:33 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Size Limits / know issues with XML-INTO?

Thanks for the confirmation at least Stephen...

Since this is a new ongoing process, manually breaking it up isn't a solution.

IBM has reproduced the error and has development looking into it.

Charles


On Sat, Mar 28, 2020 at 10:27 AM Stephen Piland < Stephen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I never reported it to IBM but I had a similar issue with some
mysterious 'limit' around 1GB or so. Since it was a one time
historical load, I broke the XML up manually into 2 pieces that were a
little less than 1GB each and it worked fine. Not a great answer, I know.

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jon
Paris
Sent: Thursday, March 26, 2020 2:53 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Size Limits / know issues with XML-INTO?

Sorry Charles - I missed that.

There are a few APARs related to large files but nothing that matches
your situation. Hopefully IBM can can up with something,



On Mar 26, 2020, at 2:14 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

As mentioned...we are on 7.2

PTF Group Level
SF99776 12
SF99775 34
SF99769 1
SF99767 5
SF99766 3
SF99759 26
SF99747 17
SF99721 10
SF99720 19297
SF99719 162
SF99718 76
SF99717 9
SF99716 22

Charles

On Thu, Mar 26, 2020 at 11:45 AM Jon Paris
<jon.paris@xxxxxxxxxxxxxx>
wrote:

Interesting - I do recall this coming up before ... have you
checked your PTF levels?

What release are you on?



On Mar 26, 2020, at 12:33 PM, Charles Wilt
<charles.wilt@xxxxxxxxx>
wrote:

All,

Is there any kind of limits or known issues to the size of an XML
doc
that
can be processed using the handler version of XML-INTO?

I've got some code...
XML-INTO %HANDLER(#PartMasterLine : allOk)
%XML(%TRIM(WpIfsFile) : %trim($OPTIONS));

The #PartMasterLine is a DIM(20) data structure...

I process about 600,000 elements (75-80% or so) successfully...

Then get a

RNX0353 - The XML document does not match the RPG variable; reason
code 5.

Cause . . . . . : While parsing an XML document, the parser found
that the XML document does not correspond to RPG variable "PARM"
and the options do not allow for this. The reason code is 5. The
exact subfield for which the error was detected is
"PARM(1).returnindicator". The options are "doc=file
path=ShowPartsMaster/ShowPartsMasterDataArea/PartMaster/PartMaster
Li ne case=any ns=remove datasubf=Data allowextra=yes
allowmissing=yes".


5. The XML document contains extra XML attributes or elements that
do not match subfields.



Now, I've added some code and even changed the DIM(20) to a DIM(1)
so that I can better understand where the problem is..


Looking at the XML, starting from the last successfully processed
PartMasterLine, I don't see any problems...


And if I remove about half the data (from ~1.5GB to ~700MB) from
the beginning, the remaining data processes without issue...


I've tried "minifying" the XML and I get further into the doc, but
still get the error.


Also have tried new versions of the doc, same problem.


The one constant, the error gets thrown at approximately the 1GB
mark into whatever document.


I've got a case open with IBM, but I thought I'd through this out
here to see if anybody else has seen a similar issue.


We running 7.2 and are pretty up to date on PTFs.


Thanks!

Charles
--
This is the RPG programming on IBM i (RPG400-L) mailing list To
post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list To
post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post
a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

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.

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.