MAX_LOCKS

This value sets the maximum number of record locks that can be held by the run-time system for all of the files together. The default value matches the setting of MAX_FILES. Many operating systems also have limits on the number of record locks that can be held, so you may have to make adjustments there too. The maximum value is 32767 for Vision files. Setting this variable to its maximum value can waste resources and is not recommended.

Note: If you change the value of MAX_LOCKS, you should consider changing the value of LOCKS_PER_FILE as well.