DELETE_FILE

This Activity will delete file(s) from a directory.

You can specify the full path and name of a particular file to be deleted or you can specify a pattern in the file and extension portion to delete one or more files that match the pattern.

On IBM i servers, this activity operates on the integrated file system–you may be able to delete objects in the QSYS file system, but you must use IFS file system notation to do so.

INPUT Parameters:

FILENAME: Required

This parameter specifies the path and name of the file(s) to be deleted.  You can specify the full path and name of a particular file to be deleted or you can specify a pattern in the file and extension portion to delete one or more files that match the pattern.

Windows server examples:
c:\mydir\my*.*
c:\mydir\myfile.txt

IBM i server examples:
/mydir/my*.*
/mydir/myfile.txt

OUTPUT Parameters:

There are no output parameters.