You can request a scope of STEP, SYSTEM, SYSTEMS, or SYSPLEX value
on the ISGENQ macro.
- Use a scope of STEP if the resource is used only in your address
space. The control program uses the address space identifier to make
your resource unique in case someone else in another address space
uses the same qname and rname and a scope of STEP.
- Use a scope of SYSTEM if the resource is serialized across all
address spaces in a system. For example, to prevent two jobs from
using a named resource simultaneously, use SYSTEM.
- Use a scope of SYSTEMS or SYSPLEX if the resource is available
to more than one system. All programs that serialize on the resource
must use the same qname and rname and a scope of SYSTEMS. For example,
to prevent two processors from using a named resource simultaneously,
use SYSTEMS or SYSPLEX.
Note: Note that the control program considers a resource with
a SYSTEMS scope to be different from a resource represented by the
same qname and rname but with a scope of STEP or SYSTEM.