New RENAME_FILE activity for LANSA Composer Version 2.0

Date:17th April 2009
Product/Release:LANSA Composer V2.0
Abstract:Hotfix 004 ships new RENAME_FILE activity for LANSA Composer Version 2.0
Submitted By:LANSA Technical Support

Hotfix 004 for LANSA Composer version 2.0 provides a new RENAME_FILE activity.

This activity is supported on all supported LANSA Composer server platforms. It supplements the existing set of COPY_FILE, MOVE_FILE and DELETE_FILE file management activities.

Please see the notes for the new activity (included below) for more information.

The hotfix is available on request from LANSA Support.

RENAME_FILE

This activity will rename a file.

  • When executed on a Windows platform a system rename command is executed.
  • When executed on an iSeries platform an OS400 REN command is executed.

INPUT Parameters:

FROMFULLNAME : Required
This parameter should contain the full path and name of the file to be moved
eg C:\dir1\myfile.txt
or /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:

None