This statement has the following parameters:
|DocumentName||An identifier of an alphanumeric data item, the value of which is the document filename to be resolved. The resolved filename is stored in this same data item upon successful completion of the statement.|
The XML RESOLVE DOCUMENT-NAME statement is used to resolve the name of an XML document file. The resolution process is the same as that for the DocumentName parameter of an XML IMPORT statement.
If the name is a URL, it is used "as is". Otherwise, if the name does not contain an extension, the extension .xml is added.
XML RESOLVE DOCUMENT-NAME MY-DOCUMENT. IF NOT XML-OK GO TO Z.