Specific gates, generic and call-back gates
It is useful to distinguish between specific gates, generic gates and callback gates:
- A specific gate gives access to a set of functions that are provided by
that domain alone. The functions are likely to be requested by many different
callers.
DS domain, for example, has a specific gate (DSAT) that provides CHANGE_MODE and CHANGE_PRIORITY functions (among other functions). Only the DS domain provides those functions, but they can be requested by many different callers.
- A generic gate gives access to a set of functions that are provided by
several domains.
Most domains provide a QUIESCE_DOMAIN function, for example, so that they can be quiesced when CICS® is shutting down normally. They each have a generic gate that provides this function. DM domain makes a generic call to that gate in any domain that is to be quiesced.
- A call-back gate also gives access to a set of functions that can be provided
by several domains. Unlike a generic gate where the call is broadcast to
all domains that have provided a gate a call-back is restricted to specific
domains but uses a format owned by the calling domain.
For example the Recovery Manager calls the domains that have registered an interest in syncpoint processing using the PERFORM_PREPARE function format that it owns.