Method for checking file occupancy by File Trigger function
If Check File Occupancy is set to "Yes" in the File Trigger Information for files that are targeted for monitoring by the File Trigger function, the confirmation is performed using the following methods.
In HULFT for UNIX/Linux
Method for locking a local file
HULFT locks a file with its unique locking mechanism using its actual file name. Then HULFT opens the target file, and locks the file by the lockf () function.
HULFT closes the file immediately after the lock is acquired. After the file is closed, HULFT releases its unique locking mechanism.
Method for locking a network file
HULFT confirms whether a HULFT network file lock can be acquired. Once confirmed, HULFT opens the target file and locks the file with the lockf () function.
HULFT closes the file immediately after the lock is acquired. After the file is closed, HULFT releases the HULFT network file lock.
-
You can use the File Trigger function if HULFT8 Enterprise grade is installed.
-
You can use network files if HULFT8 Enterprise grade is installed.
In HULFT for Windows
Method for locking a local file
HULFT confirms whether the lock with the mutex object can be acquired. In addition, HULFT confirms if the CreateFile() function can be run without sharing. After the confirmation is complete, these locks are released.
Method for locking a network file
HULFT confirms the lock with the mutex object and then confirms the HULFT network file lock. In addition, HULFT confirms if the CreateFile() function can be run without sharing. After the confirmation is complete, these locks are released.
-
You can use the File Trigger function if HULFT8 Server grade is installed.
-
You can use network files if HULFT8 Server grade is installed.