Created On:  28 March 2011


Brief entry for the number of locked records on a file.


As part of the Acu suite of products, you can make calls to the Acu File handler, I$IO. The current documentation for the op-code 4 (INFO-FUNCTION) mode -6 is:
       'Returns the number of currently locked records for the file handle passed to I$IO.'

This could be read as the call will return the total number of locks that are held against a particular vision file. This is not the case. In fact, the call will return the number of locks that the current process has on the file.

Also, the documentation does not give the definition of the data type that is returned by this call. In fact it is a 4 digit number, so it should be defined as a Pic 9(4).
Incident# 2506525