Identifying latch sets

When calling Latch_Create, your application must specify a name for the latch set to be created. The latch set name uniquely identifies the latch set within the current primary address space. If you specify a latch set name that already exists in the current primary address space, the Latch_Create service sets the return code to indicate that the latch set name already exists, and provides the latch set token for the existing latch set.

IBM® recommends that you use a standard naming convention for the latch set name. To avoid using the names IBM uses for its products, do not begin the latch set name with the character string "SYS." Also, ensure that the latch set name will be readable when it is listed in output from the DISPLAY GRS command and interactive problem control system (IPCS). Use of national characters ('@', '$', '#') is discouraged because those characters display differently on different national code pages. For more information about displaying latch information with DISPLAY GRS, see z/OS MVS System Commands. For more information about using IPCS to display latch contention information and statistics, see z/OS MVS IPCS Commands.