Loading...
Select Version
&pagelevel(5)&pagelevel
Processing of an XML document must always begin and end with the OPEN and CLOSE statements normally used in file processing, irrespective of whether the document is located in a file or memory.
OPEN only permits the INPUT open mode for XML files. CLOSE permits none of the additional phrases.
These statements have the same effect for documents in a file as for non-XML files. For documents contained in memory, the connection to memory is established or a data point and the length from the ASSIGN clause are evaluated when the OPEN statement is executed.
The values which were possible for the I-O status in the previous method of file processing are to be expected in both types of document.