Previous Topic: DCMT VARY SEGMENT ParametersNext Topic: Example: DCMT VARY SEGMENT


DCMT VARY SEGMENT Usage

A VARY SEGMENT command is translated into a set of VARY AREA operations, one for each area associated with the segment. Therefore, all information presented in DCMT VARY AREA also applies to DCMT VARY SEGMENT.

Identifying Vary Operations

When changing the status of a segment to RETRIEVAL, TRANSIENT RETRIEVAL, or OFFLINE, each VARY operation is assigned an identifier. If a dcmt-id is specified on the VARY SEGMENT command, it is used to generate the identifiers for the associated VARY AREA operations. If no dcmt-id is specified, each VARY AREA operation is identified by a unique number. In order to generate the identifier if a dcmt-id is specified, CA IDMS appends a sequential number to the dcmt-id value if necessary. The following examples illustrate the identifiers that are generated for different dcmt-id values.

The VARY SEGMENT operation returns an error if the generated identifier of any VARY AREA operation would be the same as the identifier of another outstanding DCMT operation.

Dynamic File Deallocation

In order to deallocate a segment, all of its areas must be offline.