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



Hello, I have a task that involves scanning a character array (or data structure) that is
8192 long by 256 (basically 2MB of data). This data will come from an MQ message and will consist of a series of separate XML messages - 256 of them potentially - all strung together in one MQ message.


I want to write a function that will retrieve a subset of the xml message namely, the first instance of any element of the xml:

i.e.

<StateGroup> .....
</StateGroup>

Then I want to be able to remove the extracted subset from the original data and return the rest as well as the extracted xml (in two separate parms).

The problem arises when the xml fragment I want to extract is spread between two array elements.

Any ideas on an approach?

We are using V5R1 and we are also using Advantage Plex to create the server code but for this program I am thinking it would be best to use ILE RPG and just create a wrapper function in Plex (the Plex version we are using does not support ILE generation).

Thanks for any and all help you can provide.

Marilyn Boyce
plexjob@xxxxxxxxxxx

_________________________________________________________________
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.