The FileNotLocked command

The FileNotLocked command checks to see if a file is locked before running EC Gateway or wsproces.exe on that file. From this window, the following parameters can be defined:

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).

File Name

Name of the file to check. You can either specify a filename or one of the ten Constant variables that holds the desired filename.

Retry

Number of times to keep checking to see if the file is still locked. You can either specify one of the ten Count variables that holds the number or type a number in the Constant field.

Interval

(Seconds)

Amount of time between each verification of the filename. You can either specify a one of the ten Count variables that holds that value or type a number in the Constant field.