On 4/1/2011 5:14 PM, Vern Hamberg wrote:
COBOL actually has stuff to convert data to XML format and even save toIMHO, that support is completely useless.
an IFS file, I believe
I guess it's okay if you're allowed to make up any XML format you want.
But it's impossible to make that Cobol support work according to any
existing XML standards. You pretty much have to have the Cobol generate
the XML, and then say to everyone "this is going to be our standard for
- just did a quick look to see what is there. RPGWriting code that does the equivalent of the Cobol support would take
can only read at this time with its op-codes.
you about 5 minutes. It's not exactly rocket science.
Coding XML output isn't really hard -- unless you want things like
templating and schema validation. (Which the Cobol stuff doesn't even
come close to supporting.)
That's why it's so hard to make a recommendation on something like this
without knowing *anything* at all about what the OP is looking for.
Depending on the needs, you might be able to whip this together very
simple and quick and have it work great.
Or you may need to incorporate the XML Toolkit and/or call a Java
routine, to get the level of support you need.
It entirely depends on the requirements of the project, which we weren't
told anything about.