RENAME_FILE

LANSA Composer

RENAME_FILE

This activity will rename a file.

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

When executed on an IBM i platform an i5/OS REN command is executed.

INPUT Parameters:

FROMFULLNAME : Required

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

For example:   Windows   C:\dir1\myfile.txt

IBM i   /indir/myfile.txt

TONAME : Required

This parameter should contain the new name (and optional extension) of the file.  Note that you cannot specify a new drive or path for the destination file.  The file is renamed in the same directory containing the existing object.

OUTPUT Parameters:

There are no output parameters.