Before you can parse an XML document with an XML PARSE statement, you must make the document available to your program. The most likely method of acquiring the document is by retrieval from an MQSeries message, a CICS transient queue or communication area.
If the XML document that you want to parse is held in a file, use ordinary COBOL facilities to place the document into a data item in your program:
Alternatively, you can copy the XML document to an IFS stream file, and use format 2 of the XML PARSE statement to access and parse the document.
related tasks
CICS for iSeries Application Programming Guide: http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/sm05/c4154541.pdf
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.