Before using the latch manager to serialize resources for your application, you should perform the following tasks:
Task | Reference |
---|---|
|
Creating a latch set (ISGLCRT and ISGLCR64 services)Specifying a latch's identity or usage |
|
Including a latch manager interface definition file (IDF) |
|
Loading the linkage assist routines |
|
Providing recovery for the latch manager |
There are some considerations to be aware of when using enclaves for tasks that serialize resources using the latch manager callable services. For details, see “Using ENQ/DEQ or Latch Manager Services With Enclaves” in z/OS MVS Programming: Workload Management Services.
Once you have completed the tasks, you can begin to use the latch manager services described in Guide to the latch manager callable services.