OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

4.6.8 DAM file lock

Block lock is performed using the following file name as the resource name:

file-name + hyphen (-) + (relative-block-number + 1 (hex.))

File lock is performed using the following file name as the resource name:

logical-file-name (8 chars.) + space ([Figure])

If the logical file name has 1 to 7 characters, the DAM service inserts spaces to make it an eight-character name. Therefore, for file lock, the resource name always has nine characters.

The following shows resource name examples for block lock and file lock.

  1. When block lock is performed on relative block number 30 of logical file dam1, the name of the locked resource is dam1-lf.
  2. When file lock is performed on logical file dam1, the name of the locked resource is dam1[Figure].