Changing the scope of a type
You can change the scope of a type from local to global,
or from global to local.
About this task
To convert an existing ordinary type to a global type, enter the appropriate mkobjecttype command with the options –replace, –global, and –acquire. This converts the type to a global type, and also converts any identical types (those that have the same type and the same name) in other VOBs in the hierarchy to local copies of the type. For example, assume a VOB \dev and its administrative VOB \admin contain identical ordinary label types named IDENT.
Procedure
Example
To convert an existing global type to an ordinary type,
enter the appropriate mkobjecttype command
with the options –replace –ordinary. This converts
the type and all its local copies to ordinary types. You must specify
the global type in the command; you cannot specify a local copy of
the type. For example, to convert the global element type doc_file,
defined in VOB \admin to an ordinary type, enter
the following command:
cleartool mkeltype –replace –ordinary –nc eltype:doc_file@\admin
You can also use the –replace option to change the scope of a type if you created the type or are a privileged user.