Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This parameter specifies the path of the directory the object is to be moved to AND the new name of the object.  If specified, the file will be moved to this new location using the new file name and extension specified.  If not specified, you must provide a value for the TODIRECTORY parameter.NOTE:  if

Note
Note: If you specified a pattern in the FROMFULLNAME parameter to move one or more files matching the pattern, you should NOT use this parameter.  You should specify a value for the TODIRECTORY parameter instead.

REPLACE: Optional

This parameter specifies whether the target file(s) is replaced if it already exists.  You may specify one of the following values:

...

*YES – If the target file(s) already exists, it is replaced.

Warning

...

Warning: You should NOT specify *YES for the REPLACE parameter if you specify a pattern in the FROMFULLNAME parameter to move one or more files matching the specified pattern.  The MOVE_FILE activity does not support this usage and unexpected results might occur.

FROMCCSID: Optional, IBM i servers only

...

The special (default) value *DEFAULT specifies that the DTAFMT parameter will not be specified.  Note that this parameter applies only when LANSA Composer is running on an IBM i server.

OUTPUT Parameters:

FULLNAMEOUT

Upon successful completion, this parameter will contain the full path and file name of the resulting destination file.NOTE:  if

Note
Note: If you specified a pattern in the FROMFULLNAME parameter to move one or more files matching the pattern, then this output parameter will contain the pattern you specified qualified with the path to the target directory.  This is usually not useful, and in particular you should note that it should NOT be assumed that the resulting string provides a pattern match for the exact set of files that were moved by the MOVE_FILE activity.