SETVERSION [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
SETVERSION
Sets a version of entities and relationships to a version status.
Syntax
SET[VERSION] version-name
;STAT[US] = version-status
.
Parameters
version-name Name of the version whose status is to be set.
version-status The status to which the version is set. Valid
statuses are:
test
production
archival
Description
If you set the version that you are currently working in (specified
through the DEFINE command), you will then be operating in a version of
the new status.
Whenever you create a version, the version is automatically set to test
status. You do not need to issue the SETVERSION command after the
version is created, if you want the status to remain in test. It is only
necessary to issue this command when you want to change the status to
either production or archival.
Remember, only one version in a domain can be in production status at any
given time.
Open Mode: Exclusive-update
Scope: DA scope or any scope with version capability
Example
The following example sets the version status of version B_000_* to
production.
>SETVERSION B_000_*;
>>STATUS = production.
>
MPE/iX 5.0 Documentation