COPY VERSION [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
COPY VERSION
Creates a new version and copies all the entities and relationships of
the source version to the new version.
Syntax
CO[PY] V[ERSION] source-version-name
,target-version-name
[;INT[ERNAL] = internal-name]
.
Parameters
source-version-name Name of the version to be copied.
target-version-name External name of the new version that has entities
and relationships copied to it.
internal-name Internal name of the target version. If not
specified, the internal name is the same as the
target-version-name.
Description
The target version cannot already exist.
If the source version is linked to a version in the common domain, the
target version is linked to that same version.
The new version's status is always automatically set to test, even if the
source version's status is production or archival. Refer to the
SETVERSION command for information about changing the status of a
version.
Open Mode: Shared-update or exclusive-update
Scope: DA scope or any scope with version capability. The
scope with which the dictionary is open is the owner of
the new version.
Example
The following example copies all entities and relationships in version
test1 to the new version test2.
>COPY VERSION test1, test2.
>
MPE/iX 5.0 Documentation