DELETE_FILE

LANSA Composer

DELETE_FILE

This Activity will delete a flat file from a directory.

The full path and name of the file must be provided.

When executed on a Windows platform a system del command is executed.

When executed on an IBM i platform an i5/OS DEL command is executed. Note that files in the integrated file system are deleted – if you want to delete objects in the QSYS file system, you must use IFS file system notation to do so.

INPUT Parameters:

FILENAME : Required

This parameter should contain the full path and name of the file to be deleted

For example:   Windows   c:\mydir\myfile.txt

IBM i    /dirabc/file.txt

OUTPUT Parameters:

There are no output parameters.