On 4/23/2012 4:08 AM, Klugman, Luke wrote:
This was the impression I got from reading the IBM docs for this

My issue is that I have several nested elements, so it now means to use
this I will have to go through
and add a number of count variables, and maybe have to check 7 or 8
before I can actually get into my loop.

Is this the way that this is intended to work and are there any plans to
do you to change this so it will set all count variables?

No, sorry, there are no plans to change it so it will set all count variables. That's indeed how it was intended to work, with the counter subfields for a given data structure only being set when the data structure values are encountered within the XML document.

Initializing your DS in advance is a good way to handle this.

For sure I'll try to clarify the documentation on this.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].