Previous Topic: Record LockingNext Topic: Overview of ACCEPT


Suppression of Record Retrieval Locks

Specifications can be made during dialog compilation to indicate whether or not database record retrieval locks will be held for dialog run units. Retrieval dialogs that do not update the database and do not pass currencies to update dialogs can be selectively allowed to access database records without locking those records.

Selectively disabling retrieval locks for dialogs allows:

Disabling Record Retrieval Locks

To disable record retrieval locks, you must:

  1. Analyze the dialog in the context of the entire application to ensure that control and currencies are passed appropriately. A dialog with disabled retrieval locks can pass control and currencies only to a dialog or user program that does retrieval based on these currencies.
  2. Verify the status of the system retrieval locks. If the mandatory retrieval locks are on, disable the locks at system generation time by specifying RETRIEVAL NOLOCK in the system generation SYSTEM statement.

    Note: For more information, see the CA IDMS System Generation Guide.

  3. Use the CA ADS dialog compiler or ADSOBCOM to disable retrieval locking for appropriate dialogs.

Considerations

More information:

CA ADS Application Compiler (ADSA)

Control Commands

Application and Dialog Utilities