OpenTP1 Version 7 Programming Guide
To enable lock, specify a lock type (lock mode) and the resource-specific name in the OpenTP1 system. The following two lock modes are available:
A resource cannot/can be shared depending on the contents of the lock modes in the following case:
The table below shows whether a resource can be shared if lock has been specified for the resource by more than one UAP. If the resource cannot be shared, the following can be specified in the UAP:
Table 4-13 Combinations of lock modes and resource sharing enabled/disabled
Lock mode of UAP shutting down the resource | Lock mode of UAP requesting lock | |
---|---|---|
Lock for reference (PR) | Lock for update (EX) | |
Lock for reference (PR) | Can be shared. | Cannot be shared. |
Lock for update (EX) | Cannot be shared. | Cannot be shared. |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.