mkregion

Registers a new ClearCase network region

APPLICABILITY


Product

Command Type

ClearCase


cleartool subcommand


Attache


command


Platform

UNIX


Windows

SYNOPSIS

mkregion -tag region-tag [ -tco·mment tag-comment ] [ -rep·lace ]

DESCRIPTION

The mkregion command registers a new network region by adding a new region tag (region name) and, optionally, a comment to the regions file on the ClearCase registry server host. Use the lsregion command to display the region tags contained in regions.

After creating a new region, you can create VOB-tags and view-tags for the region with mktag, mkvob, and mkview.

A ClearCase client host (which may also be an Attache helper host) can belong to only one region. Use the hostinfo -long command to display the client host's registry region. See the Administrator's Guide for more information on ClearCase network regions.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

SPECIFYING THE REGION TAG.  Default: None. You must name the region.

-tag region-tag

Names the region. region-tag can be up to 32 characters.

-tco·mment tag-comment
Adds a comment to the region-tag's entry in the registry file. Use lsregion -long to display the tag-comment.

OVERWRITING AN EXISTING TAG.  Default: An error occurs if mkregion names a region-tag that already exists.

-rep·lace

Replaces the tag-comment of an existing region-tag. No error occurs if the region-tag does not exist. You cannot use -replace to change an existing region-tag; to do so, you must first delete the existing tag with rmregion -tag, and then create a new one with mkregion -tag.

EXAMPLES

The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.

The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.

In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.

UNIX FILES

/var/adm/atria/rgy/regions
/var/adm/atria/rgy/rgy_region.conf

WINDOWS FILES

ccase-home-dir\var\rgy\regions

SEE ALSO

lsregion, lsview, mktag, mkview, mkvob, rmregion