z/OS MVS Programming: Sysplex Services Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Determining the Number of Lock Entries

z/OS MVS Programming: Sysplex Services Guide
SA23-1400-00

Use the LOCKENTRIES parameter to specify the number of entries in the lock structure. This value determines the number of available ‘slots’ in a structure's lock table, to which a specific resource is mapped by a hashing algorithm. The value of LOCKENTRIES is rounded up to a power of 2, if it is not already specified as such. If you define the lock structure to have no record data associated with it (RECORD=NO), you can request that the system is to attempt to obtain the largest possible number of locks for the allocated size of the structure by specifying LOCKENTRIES=0. The system returns the number of lock entries actually allocated in the IXLYCONA answer area, field CONALOCKENTRIES. A value of 0 for a lock structure with record data is not valid and the request fails with reason code IXLRSNCODENOLENTRIES.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014