z/OS DFSMStvs Planning and Operating Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Terminology

z/OS DFSMStvs Planning and Operating Guide
SC23-6877-00

This topic introduces several new terms or uses terms with definitions that are specific to either VSAM record-level sharing (RLS) or DFSMStvs.

Atomic
When an application changes data in multiple resource managers as a single transaction, and all of the changes are accomplished through a single commit request by a syncpoint manager, the transaction is called atomic. If the transaction is successful, all the changes will be committed. If any piece of the transaction is not successful, then all of the changes will be backed out. An atomic instant occurs when the syncpoint manager in a two-phase commit process logs a commit record for the transaction.
Backout
A request to remove all changes to resources since the last commit or backout or for the first unit of recovery, since the beginning of the application. Backout is also called rollback or abort. Any of these events can initiate backout:
  • A user request
  • An inability of a resource manager to commit resource changes
  • An abnormal end of a user task while a transaction is in-flight
Commit
A request to make all changes to recoverable resources permanent since the last commit or backout or, for the first unit of recovery, since the beginning of the application.
Context
Sometimes called a work context, a context is a representation of a work request, or part of a work request, in an application. A context might have a series of units of recovery associated with it. A context represents a work request in an application, and the life of a context consists of a series of units of recovery, with zero or one unit of recovery associated with the context at any point in time.
Forward recoverable data set
A data set that was defined with the LOG(ALL) attribute option.
Forward recovery
A process used to recover a lost data set. The data is recovered from a backup copy and all the changes that were made after the backup copy was taken are applied. The forward recovery process requires a log of the changes made to a data set, together with a date and time stamp. The log of changes is called the forward recovery log.
Forward recovery log
A log that contains copies of records after they were changed. The forward recovery log records are used by forward recovery programs and products such as CICS® VSAM Recovery (CICSVR) to reconstruct the data set in the event of hardware or software damage to the data set.
Log of logs
A log that DFSMStvs and CICS write to provide information to forward recovery programs such as CICS VSAM Recovery (CICSVR). The log of logs is a form of user journal that contains copies of the tie-up records that DFSMStvs or CICS has written to forward recovery logs. This log provides a summary of which recoverable VSAM data sets that DFSMStvs or CICS has used, when they were used, and to which log stream the forward recovery log records were written.

If you have a forward recovery product that can utilize the log of logs, ensure that all CICS regions that share the recoverable data sets write to the same log-of-logs log stream.

Nonrecoverable data set
A data set for which no changes are logged. Neither backout nor forward recovery is provided.
Primary system log
The undo log.
Recoverable data set
A data set that can be recovered using backout or forward recovery processing, defined with the LOG parameter set to UNDO or ALL.
Resource manager
A subsystem or component, such as CICS, IMS™, or DB2®, or DFSMStvs, that manages resources that can be involved in transactions. There are three types of resource managers: work managers, data resource managers, and communication resource managers.
Secondary system log
The shunt log.
Shunt log
The secondary system log, which contains entries that were shunted to the log when DFSMStvs was unable to finish processing sync points. If a unit of work fails, it is removed (shunted) from the primary system log to the secondary system log, pending recovery from the failure.
Sync point
An end point during processing of a transaction. A sync point occurs when an update or modification to one or more of the transaction's protected resources is logically complete. A sync point can be either a commit or a backout.
Syncpoint manager
A syncpoint manager is a function that coordinates the two-phase commit process for protected resources, so that all changes to data are either committed or backed out. In z/OS, RRS can act as the system level syncpoint manager.
Two-phase commit
The process used by syncpoint managers and resource managers to coordinate changes in an ACID transaction, which is a transaction that involves multiple resource managers using the two-phase commit process to ensure atomic, consistent, isolated, and durable properties.

In the first phase of the process, resource managers prepare a set of coordinated changes, but the changes are uncommitted pending the agreement of all the resource managers involved in the transaction. In the second phase, those changes are all committed if the resource managers all agreed to them; or, the changes are all backed out if any of the resource managers failed or disagreed.

Using the two-phase commit process, multiple changes across multiple resource managers can be treated as a single ACID transaction.

Undo log
The primary system log, which contains images of changed records as they existed prior to being changed. Backout processing uses the undo log to back out the changes that a transaction made to resources.
Unit of recovery (UR)
A set of changes on one node that is committed or backed out as part of an ACID transaction.

A UR is implicitly started the first time a resource manager touches a protected resource on a node. A UR ends when the two-phase commit process for the ACID transaction changing it completes.

Unit of work
In DFSMStvs, one or more logical units of recovery that are committed or backed out together as a transaction.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014