HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)
4- 71
Description
Neither the common domain nor the current domain can ever be deleted. When a domain is deleted, all
versions of that domain and all entities and relationships in those versions are deleted.
Open Mode: Exclusive-update
Scope: DA scope or the domain's owner scope
Example
The following example deletes the domain accounts-payable.
>DELETE DOMAIN accounts-payable.
>
DELETE ENTITY
Deletes an entity.
Syntax
DEL[ETE] E[NTITY] entity-name
;E[NTITY-]T[YPE] = entity-type-name
.
Parameters
entity-name Name of the entity to be deleted.
entity-type-name Name of the type of the entity to be deleted.
Description
If no other versions of the entity exist, then the entity name and all synonyms are deleted. All
relationships involving the entity are also deleted.
The entity cannot be deleted if it is in the common domain and is linked to a local domain entity.
Open Mode: Shared-update or exclusive-update
Scope: DA scope or the entity's owner scope
Example
The following example deletes the file f01.
>DELETE ENTITY f01; ENTITY-TYPE = file.
>
DELETE ENTITY-TYPE
Deletes an entity type.
Syntax
DEL[ETE] E[NTITY-]T[YPE] entity-type-name