LOCKMAX parameter

The LOCKMAX parameter can be specified on the PSBGEN statement or at execution time. The parameter has the following format: LOCKMAX=n, where n is a number between 0 and 255. 0 is the default and specifies no maximum lock limit.

Using the LOCKMAX parameter

The number that is specified indicates units of 1000; for example, a specification of LOCKMAX=5 means that the application cannot have more than 5000 locks at one time.

Assemble the current DSECT describing the log record for the correct field offset because the offset for a field might change. For type X'37' log records, use the DFSXFER DSECT and select records that contain X'30' in the subtype field (such as type X'3778').

Restriction: Although the LOCKMAX parameter allows you to limit the amount of resources that are used by an application, it cannot be used to initially specify the amount of resources to be used by an application. Use traditional methods for specifying these resources through the PSB.