This statement has the following parameters:
Parameter | Description |
---|---|
DocumentPointer | The COBOL pointer data item that points to the in-memory text. |
DocumentLength | The name of a COBOL numeric data item that contains the length of the XML document pointed to by DocumentPointer. |
DocumentName | The filename that will contain the XML document upon successful completion of the statement. |
The XML PUT TEXT statement copies the content of the in-memory XML document specified by the DocumentPointer and DocumentLength parameters to the external file specified by the DocumentName parameter. A status value is returned in the XML-data-group data item, which is defined in the copybook, lixmldef.cpy.