The ENQ and DEQ commands are used to serialize access to a shared resource. These commands only work for CICS tasks running in the same region.
The ENQ and DEQ commands cannot be used to serialize access to a resource shared by tasks in different regions, unless they are supported by appropriate ENQMODEL resource definitions so that they have sysplex-wide scope. See Using ENQ and DEQ commands with ENQMODEL resource definitions and ENQMODEL resource definitions for a description of ENQMODELs.
If TRN2 shown in Figure 1 executed in a different target region from TRN1, TRN2 would not be suspended while TRN1 accessed the shared resource. For this reason, a dynamic or distributed routing program must ensure that all tasks that enqueue on a given resource name must execute in the same target region to preserve the application design. TRN2 would, of course, be serialized with other CICS tasks that issue ENQ commands on the same resource name in its target region.