Previous Topic: DCMT VARY DMCL ParametersNext Topic: Example: DCMT VARY DMCL


DCMT VARY DMCL Usage

Using a New Copy of the Database Load Module

DCMT VARY DMCL NEW COPY allows programs running under the DC/UCF system to benefit from changes made to the database definition without having to recycle the system. For example, an area can be added to an existing segment while the system remains active.

When a DCMT VARY DMCL NEW COPY command is issued, CA IDMS applies changes to the database definition that have been made by the following DDL statements:

Additionally, CA IDMS loads a new copy of the database name table. In certain situations the system must be cycled in order to fully enable changes made to the DMCL. The system must be cycled in order to:

In some cases these changes may appear to be honored when the DMCL is varied New Copy, but will not actually be in effect until the Central Version is restarted.

Impact of Change Tracking

If change tracking is in use, a DCMT VARY DMCL NEW COPY command can only be issued if change tracking is active or disabled. We recommend that change tracking be active in systems in which new copies of DMCLs are to be varied online.

Note: For more information, see Recovery Considerations and DMCL Changes.

What DC/UCF Does in Response to a New Copy Command

In response to a DCMT VARY DMCL NEW COPY command, CA IDMS performs the following actions:

When quiescing access to impacted entities, the following actions are taken:

Note: If areas or disk journals must be varied offline, the vary operation could have a lengthy completion time. Before responding Yes to the prompt, note the areas affected by the change and the transactions that are accessing those areas. If disk journals are being changed, look for transactions that may depend on those journal files for recovery. Look especially for long-running transactions that do not issue frequent commits.

Recovery Considerations and DMCL Changes

If change tracking is active when a DCMT VARY DMCL NEW COPY is issued, CA IDMS ensures that any subsequent warmstart uses the correct data sets and DMCL definition by recording the new definition in the SYSTRK files. If a failure occurs prior to writing the new DMCL to SYSTRK, the system restarts using the old DMCL definition and data sets. Otherwise, the system restarts using the new definition and data sets. If the write to SYSTRK fails because of an I/O error or out-of-space condition, the vary operation continues but change tracking is varied inactive, and manual intervention is needed to restart the CV in the event of a failure. Therefore, you should correct the cause of the failure and vary change tracking active as soon as possible. If the CV fails before these corrective actions are taken, specify IGNORE_SYSTRK_DMCL=ON in the SYSIDMS file when restarting the system, and ensure that the execution JCL does not reference obsolete data sets. If IGNORE_SYSTRK_DMCL=ON is not specified, warmstart fails due to a mismatch between the timestamp in the DMCL and that recorded on the journal files.

If change tracking is disabled or not in use when a DCMT VARY DMCL NEW COPY is issued, manual intervention may be necessary to ensure correct recovery in the event that a subsequent warmstart is needed. The necessary actions depend on when the failure occurs:

Modifying DMCL-wide Memory Cache Parameters

DMCL VARY MEMORY CACHE allows dynamically changing options to control where and how much memory cache storage can be allocated.

Note: A dynamic change to memory caching through DCMT VARY DMCL applies only to files that are opened AFTER the DCMT VARY DMCL command was issued.

Example: