iSeries Cobol Technical Discussion Mailing ListMailing list archive for cobol400-l at midrange.comRe: COBOL400-L Digest, Vol 6, Issue 42- June 11, 2008 We wrote C program, which get call from COBOL program to generate XML file in IFS. Thanks & Regards,Nawal Singh Satyam Computer Services. _________________________________________________________________ It&x2019;s easy to add contacts from Facebook and other s...http://feeds.midrange.com/~r/cobol400-l/~3/309870620/msg00033.html Re: COBOL400-L Digest, Vol 6, Issue 42- June 11, 2008 Cole, We've realized the size of the XML document is going to be HUGE too but it's a cost we are willing to incur for this Business Intelligence project. Rick Beethe Manager of Application Development Computer Research, Inc. 10170 Church Ranch Way, Suite 3...http://feeds.midrange.com/~r/cobol400-l/~3/309853895/msg00032.html Re: XML and COBOL- June 10, 2008 Thanks for the input.&xA0; I'm reading the manual now and I think I understand what it's doing.&xA0; The tricky part is going to be to set up&xA0;the data structure, I'm a little bit afraid of the size of the darn thing.&xA0; Some of the levels could have several hundred ...http://feeds.midrange.com/~r/cobol400-l/~3/309061536/msg00031.html Re: XML and COBOL- June 10, 2008 We are currently underway with a project to generate XML from COBOL for our reports. We've found using output to a stream file "XML GENERATE FILE-STREAM" to be unacceptably slow and instead we generate to a QTEMP file and then copy that to a stream file in...http://feeds.midrange.com/~r/cobol400-l/~3/309061537/msg00030.html Re: Learning XML- June 10, 2008 No - it is quite straightforward, but the type of XML document you can generate is somewhat limited. It would work well for internal documents, but not so well I suspect for industry standard docs with extensive attributes etc. Effectively it generates an...http://feeds.midrange.com/~r/cobol400-l/~3/308934812/msg00029.html R: Learning XML- June 10, 2008 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 Sincer...http://feeds.midrange.com/~r/cobol400-l/~3/308883776/msg00027.html Re: Learning XML- June 10, 2008 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 Detroi...http://feeds.midrange.com/~r/cobol400-l/~3/308883777/msg00026.html R: Learning XML- June 10, 2008 Yes it is, or at least it could be. Depending on i5OS version, you may directly read and write XML structures. Take a look at V5R4M0 manuals. Good luck. D. Domenico Finucci Fiditalia S.p.A. via G. Silva, 34 - 20149 Milano -----Messaggio originale----- Da: ...http://feeds.midrange.com/~r/cobol400-l/~3/308845431/msg00024.html |