MoveInputFileAfterProcessingOnError

Top  Previous  Next

×V2.1Ø

S

A

W

WS

ü

ü

Valid for: SetStartup & SetRuntime

 

Syntax -

SetStartup MoveInputFileAfterProcessingOnError {"Yes" | "No"}

 

Description:

This option defines what will happen to the input file after the script completes if the script encounters an error and MoveInputFileAfterProcessing is populated with a valid path.  If MoveInputFileAfterProcessingOnError is set to "Yes," then the input file will still be moved to the directory specified by MoveInputFileAfterProcessing even if the script encounters an error.  If MoveInputFileAfterProcessingOnError is set to "No," then the input file will not be moved if the script finishes with an error. This option sets the Move Input File After Processing Error checkbox on the Automation tab of the EMUE Tools - Current Settings - Options Settings window. This command can be used with the SetRuntime which will allow you to turn on / off the command during the script, not just at the beginning with the SetStartup.

 

Note: If MoveInputFileAfterProcessing is not set, then MoveInputFileAfterProcessingOnError will be ignored.

 

Sample:

       The following statement instructs EMUE to move the input file the directory “C:\PostProcessingDirectory” even if the script encounters an error.

SetStartup MoveInputFileAfterProcessing "C:\PostProcessingDirectory"

SetStartup MoveInputFileAfterProcessingOnError "Yes"

 

See Also:

MoveInputFileAfterProcessing

SetRuntime