Controlling the number of XML locks

You can control the number of XML locks that are taken.

About this task

Begin program-specific programming interface information. XML locks are counted toward the total number of locks allowed per user.

Procedure

To control the number of XML locks, use the following approaches:

  • Specify the value of the NUMLKUS subsystem parameter.
    The number of XML locks that are acquired during a unit of work is reported in IFCID 0020.End program-specific programming interface information.
  • Use the LOCKMAX clause of the CREATE TABLESPACE or ALTER TABLESPACE statement to control the number of LOB locks that are acquired within a particular XML table space.