Functions of the table manager
The table manager performs the following functions:
- Locate table entry
- For a given name, find the address of the table entry.
- Get next table entry
- For a given name, find the address of the next table entry in collating sequence. This can be used repeatedly to find all entries in a range (or all elements in the whole table).
- Add table entry
- For a given table entry, add it into the table.
- Quiesce a table entry
- For a given name, mark its directory segment as busy.
- Unquiesce a table entry
- For a given name, remove its directory segment from the ‘quiesce’ state.
- Delete a table entry
- For a given name, delete it and any associated alias. The entry must have been quiesced first.
- Create an index for a table
- Create a hash table of a given type.
- Add a name into a secondary index
- Given a primary name and a secondary name, add the names to the secondary index.
- Add an alias name
- For a given name, assign an alias name.
- Get next alias name
- For a given a name, find the next alias name (if any).
- Lock a table entry
- For a given a name, assign a read lock to it.
- Unlock a directory entry
- For a given a name, remove the associated read lock.
- Reset lock slots
- For a given name, reset the lock slots.
- Transfer lock to target task
- For a given a name and the address of a target TCA, transfer the read lock to the target task.
- Process deferred work element
- Make the changes made by the logical unit of work (LUW) visible at task syncpoint time.