That's something new... any examples on the web?
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Justin Taylor
Sent: Friday, August 31, 2018 1:40 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: RE: [EXT] Fwd: XML with 8 levels of multi-occurring segments
" One of the tricks I use with XML-SAX is to use Sql Global Temp tables to store the data. They are simple and very fast."
That's my preference as well, for anything more than the most basic use case.
-----Original Message-----
From: Alan Campin [mailto:alan0307d@xxxxxxxxx]
Sent: Friday, August 31, 2018 12:31 PM
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Subject: Re: [EXT] Fwd: XML with 8 levels of multi-occurring segments
Are you processing as the order level, meaning so you process all the data for one order and then process the next order assuming you were processing order by order.
What would the tables look like if you were writing to disk?
One of the tricks I use with XML-SAX is to use Sql Global Temp tables to store the data. They are simple and very fast.
I also just use dynamic memory which is also pretty simple.
Any chance we could see example XML for one order (Dummy up to hide your data)?
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.