DeleteDestFileBeforeMoveOrCopy

Top  Previous  Next

×V3.1Ø

S

A

W

WS

ü

ü

Valid for: SetStartup & SetRuntime

 

Syntax -

       SetStartup DeleteDestFileBeforeMoveOrCopy {"Yes" | "No"}

 

Description:

When moving or copying a file, if a file exists in the destination with the same name, this setting determines whether or not EMUE will delete the destination file prior to the MoveFile or CopyFile.  The default behavior is that EMUE will delete the file if it exists.  When sending files to the mainframe via FTP, it may be necessary to change this option to No so that the predefined file is not deleted and recreated.  This behavior can cause formatting problems with mainframe FTP.

 

Sample:

       The following statement configures the DeleteDestFileBeforeMoveOrCopy option so that EMUE will not delete the destination file prior to any MoveFile or CopyFile commands.

SetStartup DeleteDestFileBeforeMoveOrCopy "No"

 

See Also:

MoveFile

CopyFile

SetRuntime