DELETE RELATIONSHIP-CLASS [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
DELETE RELATIONSHIP-CLASS
Deletes a relationship class.
Syntax
DEL[ETE] R[ELATIONSHIP-]C[LASS] relation-class-name
[;PURGE]
.
Parameters
relation-class-name Name of the relationship class to be deleted.
PURGE If you specify this keyword and any relationship
types that involve the specified relationship class
exist, then the relationship type is also purged.
If you do not specify PURGE, and the relationship
class is involved in a relationship type, the
operation fails.
Description
When both relationship class and relationship type are deleted, all
relationships of that type are also deleted.
Open Mode: Customization
Scope: DA scope or the relationship class's owner scope
WARNING When a version is in archival status, it is considered frozen,
protecting its data from modification. However, archival status
does not freeze the dictionary structure. Therefore, if the
dictionary structure is changed, the structure of archival
versions is also changed. In the case of additions to the
dictionary structure, no serious problems will result. However,
deletions from the dictionary structure may be detrimental to
archival versions. Therefore, this should be considered when
making deletions that affect dictionary structure.
Example
The following example deletes the relationship class generates. Because
the keyword PURGE is not specified, the operation will fail if generates
is involved in any relationship types.
>DELETE RELATIONSHIP-CLASS generates.
>
MPE/iX 5.0 Documentation