XML FREE TEXT

This statement has the following parameter:

Parameter Description
DocumentPointer Identifier of a COBOL pointer data item that points to an area of memory allocated by the XML EXPORT TEXT or XML GET TEXT statements.

Description

The XML FREE TEXT statement releases the memory referred to by the COBOL pointer data item specified by the DocumentPointer parameter, which should have a value that has been set by one of the statements XML EXPORT TEXT, XML EXPORT FILE, or XML TRANSFORM TEXT.

Example

XML FREE TEXT
    MY-DOCUMENT-POINTER
IF NOT XML-OK GO TO Z.