The FileCommand command allows users to perform rudimentary file manipulation commands within a process. From this window, you can define the following parameters:
Field |
Description |
---|---|
Label |
Specifies the unique label of this process command. This label allows other commands to branch to this command. The label that you type here appears in the Label column on the EC Gateway Process window. |
Disable command |
Disabling the command will allow temporary modification of the process statements. This allows for testing of the statements for error-free robustness. The command that has been disabled will not show in the script file (.pfs file). |
Action |
File command to be performed. You can view and select a command from a list of available commands by clicking on the arrow icon beside this field. There are four choices available. Selecting the first choice, Copy, will copy the source file. Selecting the second choice, Copy Append, will append data to a copy of the source file. The third choice, Delete, will delete the source file. The final choice, Rename, when chosen, will change the name of the source file. |
Source |
Source file name. You can select the source file name from a list of file names by clicking on the arrow icon beside this field. There are three choices available to the user: FileName…, Process Variable, itself has two choices: FileName and Parameters. The third choice, Directory… will open the Select a Directory… window and the user can choose the appropriate source file name. |
Destination |
Destination file name. You can select the destination file name from a list of file names by clicking on the arrow icon beside this field. There are three choices available for this option: FileName… will open the Browse – Select a File window, Process Variable itself has two choices: FileName and Parameters. The third choice, Directory… will open the Select a Directory… window and the user can choose the appropriate destination file name. |