This statement has the following parameters:
Parameter | Description |
---|---|
DocumentName | The name of the file that contains the XML document to be tested. |
The XML TEST WELLFORMED-FILE statement tests the XML document specified by the DocumentName parameter to see if it is well-formed. A well-formed XML document is one that conforms to XML syntax rules, but is not necessarily valid with respect to any schema. See XML VALIDATE FILE and XML VALIDATE TEXT for testing whether a document is valid with respect to a schema.
A status value is returned in the XML-data-group data item, which is defined in the copybook, lixmldef.cpy.