What is a Resource Definition Update Block (RDUB)?

The RDUB is a record of locks held by a UOW against names in three namespaces:
  1. Termids and Sysids
  2. Netnames
  3. Unique ids (Composed of the Netname of a Terminal Owning Region followed by a period ‘.’ followed by the Termid or Sysid in that TOR)
During the installation, deletion, or replacement of a TCTTE definition the builders DFHBS* obtain locks by calling DFHZGTA. These locks guarantee exclusive or shared access to names in these namespaces. Exclusive access is used to prevent another task from installing another definition with the same name, netname or unique-id while this UOW is trying to install or delete (an action which may have to be reversed). Shared access is used to block another task from deleting an entry that a definition that this task is updating (for example, a system definition name may be locked by a remote terminal definition that refers to it).

RDUBs also exist on a global chain so that other UOWs can easily find out if a particular lock is held.



dfhs3c00115.html | Timestamp icon Last updated: Monday, 5 June 2017