Name/token pairs created by a program are automatically deleted
by the system. The level of the pair determines when the
system deletes the pair:
Note: The words job step in this topic refers to the cross
memory resource owning (CMRO) task. While the CMRO task is generally
the main job step task, at times it may be either the initiator task
or started task control task (such as between jobs).
- Task-level pairs are owned by the task that created them and are
deleted when the owning task terminates.
- Home-address-space-level name/token pairs are owned by the job
step task of the home address space that created them and are deleted
when the job step task, rather than the creating task, in the address
space terminates; that is, home-level pairs created by subtasks of
a task are not automatically deleted when the subtask terminates.
- Primary-address-space-level name/token pairs are owned by the
job step task of the primary address space that created them and are
deleted when the job step task, rather than the creating task, in
the address space terminates; that is, primary-level pairs created
by subtasks of a task are not automatically deleted when the subtask
terminates.