XML REMOVE FILE

This statement has the following parameter:

Parameter Description
FileName Nonnumeric literal or identifier of an alphanumeric data item that specifies the filename of the file to be removed. If an extension is not specified in the filename, the extension .xml is appended to the specified filename.

Description

The XML REMOVE FILE statement deletes the file specified by the FileName parameter.

A status value is returned in the data item XML-Status of XML-data-group, which is defined in the copy file lixmldef.cpy.

Example

XML REMOVE FILE
    MY-FILE-NAME.
IF NOT XML-OK GO TO Z.