Home > Archive > Cobol > November 2007 > XML generate
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Platform z/OS Enterprise Cobol
Just testing the waters on creating XML output from some flat files.
Choice is to use XML GENERATE command or hand-code.
Are there any known problems with XML GENERATE? Frequently with a lot
of IBM's newer releases there are teething problems.
Would like some input from people who are using this in a production
environment.
| |
| William M. Klein 2007-10-27, 6:55 pm |
| I have heard of no problems - if by that you mean "bugs in what is documented".
However, the feature is limited - to some extent. There are issues with
"attributes" , underscores vs hyphens, and some other XML features not supported
by this syntax. Some of this ("work-arounds") is dealt with at:
http://publibz.boulder.ibm.com/cgi-.../igy3pg32/5.2.2
There may also be "encoding" (codepage) issues - which you will also need to
understand. (As I recall, there may be problems if your site doesn't have the
correct conversion services defined).
NOTE:
I have not personally used this facility, so this is just a report on what I
have "heard".
NOTE 2:
Other compilers on other platforms use very DIFFERENT approaches to COBOL and
XML, so this solution is NOT necessarily portable - if this may matter to your
site in the future.
--
Bill Klein
wmklein <at> ix.netcom.com
"Pakku" <pakku@soccermail.com> wrote in message
news:1193454520.506801.39460@50g2000hsm.googlegroups.com...
> Platform z/OS Enterprise Cobol
> Just testing the waters on creating XML output from some flat files.
> Choice is to use XML GENERATE command or hand-code.
>
> Are there any known problems with XML GENERATE? Frequently with a lot
> of IBM's newer releases there are teething problems.
>
> Would like some input from people who are using this in a production
> environment.
>
| |
|
| On 10/26/07 11:08 pm, Pakku wrote:
> Platform z/OS Enterprise Cobol
> Just testing the waters on creating XML output from some flat files.
> Choice is to use XML GENERATE command or hand-code.
>
> Are there any known problems with XML GENERATE? Frequently with a lot
> of IBM's newer releases there are teething problems.
>
> Would like some input from people who are using this in a production
> environment.
Like Bill, I cannot comment from personal experience using the XML
support, but as far as "IBM's newer releases...problems," consider that
XML GENERATE was added in V3.3 [GA Feb-2004] and the current compiler
V3.4 was GA in Jul-2005 [updated to V3.4.1 for non-XML changes in
May-2006]. So, it is not quite a 'new' release. It's been out in the
'real world' for over two years now.
Carl
| |
| cschneid_google@yahoo.com 2007-10-28, 6:55 pm |
| On Oct 26, 10:08 pm, Pakku <pa...@soccermail.com> wrote:
> Platform z/OS Enterprise Cobol
> Just testing the waters on creating XML output from some flat files.
> Choice is to use XML GENERATE command or hand-code.
>
> Are there any known problems with XML GENERATE? Frequently with a lot
> of IBM's newer releases there are teething problems.
>
> Would like some input from people who are using this in a production
> environment.
Bill Klein has given you an excellent reference, there are also SHARE
presentations on and including the topic of XML GENERATE in IBM's
Enterprise COBOL.
Where I work, we use XML GENERATE in a production environment. Our
difficulties and how we worked around them were presented at SHARE in
San Diego is session 8247, starting at (I believe) slide 32. See
http://shareew.prod.web.sba.com/pro...gmod/index.cfm.
You might also be interested in session 8236 presented in Tampa Bay.
Both of these are currently available to the public, but I don't know
how long it will be before you will need a SHARE userID and password
to access them.
In my experience, the feature works as documented.
| |
|
| On Oct 28, 1:30 pm, cschneid_goo...@yahoo.com wrote:
> On Oct 26, 10:08 pm, Pakku <pa...@soccermail.com> wrote:
>
>
>
>
> Bill Klein has given you an excellent reference, there are also SHARE
> presentations on and including the topic of XML GENERATE in IBM's
> Enterprise COBOL.
>
> Where I work, we use XML GENERATE in a production environment. Our
> difficulties and how we worked around them were presented at SHARE in
> San Diego is session 8247, starting at (I believe) slide 32. Seehttp://shareew.prod.web.sba.com/proceedingmod/index.cfm.
>
> You might also be interested in session 8236 presented in Tampa Bay.
>
> Both of these are currently available to the public, but I don't know
> how long it will be before you will need a SHARE userID and password
> to access them.
>
> In my experience, the feature works as documented.
Thanks all, just what I wanted to know. My company's investment in
IBM Big Iron is significant enough and growing that, it is unlikely
they will change platforms. But thanks for pointing it out, we will
put the XML generation part in a different program.
For instance I understand that the DataPower appliance can convert
unformatted flat file text to XML using copybooks very efficiently.
So if we decide to "farm out" XML generation from the application
programs, we just need to remove the program from the job.
Rgds
| |
| Sudhir.Jarajapu@gmail.com 2007-11-13, 6:55 pm |
| On Oct 29, 8:36 am, Pakku <pa...@soccermail.com> wrote:
> On Oct 28, 1:30 pm, cschneid_goo...@yahoo.com wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Thanks all, just what I wanted to know. My company's investment in
> IBM Big Iron is significant enough and growing that, it is unlikely
> they will change platforms. But thanks for pointing it out, we will
> put the XML generation part in a different program.
> For instance I understand that the DataPower appliance can convert
> unformatted flat file text to XML using copybooks very efficiently.
> So if we decide to "farm out" XML generation from the application
> programs, we just need to remove the program from the job.
> Rgds- Hide quoted text -
>
> - Show quoted text -
Hello All,
Am also using the XML Generate feature from IBM Enterprise Cobol.
Am facing problems converting MiXeD case names to XML Tag names.
Strange!!
If anyone has similar problems, please post a reply and we will
discuss further.
| |
| Richard 2007-11-14, 3:56 am |
| On Oct 27, 4:08 pm, Pakku <pa...@soccermail.com> wrote:
> Platform z/OS Enterprise Cobol
> Just testing the waters on creating XML output from some flat files.
> Choice is to use XML GENERATE command or hand-code.
>
> Are there any known problems with XML GENERATE? Frequently with a lot
> of IBM's newer releases there are teething problems.
>
> Would like some input from people who are using this in a production
> environment.
I create XML files using templating. Once a templating routine has
been built then it doesn't matter whether the output is XML, HTML,
CSV, EDIFAC, or printed report, it is all just a matter of stuffing
data items into places in the template.
| |
| Alistair 2007-11-14, 7:55 am |
| On 13 Nov, 17:38, Sudhir.Jaraj...@gmail.com wrote:
> On Oct 29, 8:36 am, Pakku <pa...@soccermail.com> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hello All,
> Am also using the XML Generate feature from IBM Enterprise Cobol.
> Am facing problems converting MiXeD case names to XML Tag names.
> Strange!!
>
XML tag names should be in lower case. Is that your problem?
|
|
|
|
|