Determining a value for the LOCKMAX parameter
To decide what value to use for the LOCKMAX parameter, analyze over a period of time the X'37', X'41', and X'5937' commit log records to determine the maximum number of locks being held per unit of work by the application.
Each of these log records contains a "high water lock count" or maximum lock count, which is the maximum number of locks held by the application. The X'41' log record shows a zero for the number of locks held, except in DL/I and DBB batch cases involved in block-level data sharing.