Interfaces into and out of Pro IV
Posted 01 February 2004 - 09:10 PM
In a previous thread, the subject of XML was discussed. It appears that PRO-IV can export XML but not read it.
That being said, since XML is strictly text (albeit with tags); a creative person could read the source data into PRO-IV as an external text file; and process it accordingly. This amounts to that creative person having to write their own XML parsing 'engine' in PRO-IV.
Have (lots of) fun doing it
Posted 02 February 2004 - 10:03 AM
We wrote a C program to get some "XML like" information from an MQ queue and write the data into an Oracle table and another one to go the opposite way. Next we read the Orale table in PRO-IV. This was pretty easy since the format of the data was always fixed.
It would have been easy to write the data from MQ to a text file and use one of the many freeware or shareware XML parsers to reformat it. We have also done this and it is much easier than developing a parser
Posted 02 February 2004 - 01:58 PM
The advantage of the above (if viable) is of course that it offloads almost all your problem onto Oracle stuff that "already works", allegedly
More extremely, if you are prepared to write C code, you could in principle integrate ProIV directly with MQ Series by writing the necessary code using the MQ Series C API and linking it with the ProIV Kernel. This is a very high performance solution but probably you wouldn't want to go that way without prior experience of adding C to the kernel. Obviously Tony W's C approach is a little simpler and quite possibly preferable for that reason.
Posted 03 February 2004 - 08:59 PM
Having said which, it's still *far* easier to deal with a standard XML parser than building your own.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users