Good evening, Sirs: please note that i5OS version V5R4M0 contains cobol instructions that allows to READ, PARSE and WRITE XML structures starting from classical 01 level Cobol structures and more.
Take a look at IleCobolProgrammersGuide sc092540.pdf
Sincerely
D
Domenico Finucci
Sicurezza Sistemi informativi (DSI/SSI)
P Print this mail only if necessary
-----Messaggio originale-----
Da: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] Per conto di Cousino, Alexis
Inviato: martedì 10 giugno 2008 16.23
A: COBOL Programming on the iSeries/AS400
Oggetto: Re: [COBOL400-L] Learning XML
If you want to keep it simple, you can create a file, then using sql create a pc format file in xml, which you can then ftp or whatever.
EXECUTE SQL('select * from myfile') PCFMT(*XML) +
TOFLR(myfolder) TODOC(myfile.XML) REPLACE(*YES)
Alexis Cousino
Detroit Media Partnership
IT Project Leader
313.222.6773
-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Cole Gantz
Sent: Tuesday, June 10, 2008 9:18 AM
To: COBOL400-L@xxxxxxxxxxxx
Subject: [COBOL400-L] Learning XML
Hello everyone,
We have a project where we need to create an XML document and send it somewhere. Where can I learn to do this? We want to use COBOL on our system i. Is this a good idea?
Cole
--
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/cobol400-l.
--
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/cobol400-l.
As an Amazon Associate we earn from qualifying purchases.