XML INITIALIZE

This statement has no parameters.

Description

The XML INITIALIZE statement opens a session with XML Extensions. It ensures that the AcuCOBOL-GT runtime system is the required version and retrieves required information from the runtime system. The underlying XML parser is also initialized.

The execution of this statement causes the document cache to be flushed from memory.

A status value is returned in the data item XML-Status of XML-data-group, which is defined in the copy file lixmldef.cpy. It is not considered an error to execute an XML INITIALIZE statement when XML Extensions has already been initialized and not terminated.

Example

XML INITIALIZE.
IF NOT XML-OK GO TO Z.