IBM SC34-7012-01 Manual de usuario Pagina 167

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 268
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 166
Recoverable files
For VSAM or BDAM files designated as recoverable, the duration of the locking
action is extended. For VSAM files, the extended locking is on the updated record
only, not the whole control interval.
READ WRITE
UPDATE
====== Locking =====
during update
(See Note below)
Task A
SOT READ WRITE SP
UPDATE
===Wait=== ===== Locking ====
during update
(See caption
Task B below)
SOT SP
Abbreviations: Note: For BDAM and VSAM
SOT: Start of task non-RLS, this locking
SP: Syncpoint grants exclusive control.
Figure 13. Locking during updates to nonrecoverable files. This figure illustrates two tasks updating the same record or
control interval. Task A is given a lock on the record or control interval between the READ UPDATE and WRITE
commands. During this period, task B waits.
READ WRITE
UPDATE
The lock extends to the end of the UOW
===========================================
Task A
SOT
WRITE
READ
UPDATE
Locked
===============Wait============== ====== until =====
end of UOW
Task B
SOT SP SP
Abbreviations:
SOT: Start of task
SP: Syncpoint
Figure 14. Locking (enqueuing on a resource) during updates to recoverable files. This figure illustrates two tasks
updating the same record or control interval. Task A is given an exclusive lock on the record until the update is
committed (at the end of the UOW). During this period, task B waits.
Chapter 13. Programming for recovery 155
Vista de pagina 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 267 268

Comentarios a estos manuales

Sin comentarios