HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)
4- 93
Parameters
entity-name(N) Name of the entity involved in the relationship whose variable length attribute text is
to be edited.
entity-type-name(N) Name of the entity type involved in the relationship type.
relation-class-name Name of the relationship class.
attribute-name Name of the variable length attribute whose text is to be edited.
Description
You cannot use the EDIT RELATIONSHIP command if input is from a file or you are executing in batch
mode. The EDIT command calls the EDIT/V subsystem, which performs the specified editing. (Refer to the
EDIT/V Reference Manual for details regarding this subsystem.) EDTXTxxx is the name of the temporary
text file used as the interface between the System Dictionary and EDIT/V. To perform the editing tasks,
you can use all but the following two EDIT/V subsystem commands: TEXT and KEEP. You cannot use the
TEXT command because EDTXTxxx is automatically used as the text file when entering the EDIT
command. You may not use the KEEP command for the same reason. When exiting the EDIT/V subsystem,
you are prompted with "PURGE OLD?”. If you respond "Yes" or "Y", an automatic KEEP is issued.
Otherwise, the original text remains unchanged and the new text is not kept. If you delete all lines, the
variable length attribute is deleted from the relationship.
Open Mode: Shared-update or exclusive-update
Scope: DA scope or any scope with create capability and modify access to the rela-
tionship
Example
The following example adds the line "These orders are only from the Midwestern Region." to the
description text for the relationship, Midwestern contains order.
>EDIT RELATIONSHIP Midwestern, order;
>>RELATIONSHIP-TYPE = region, file;
>>RELATIONSHIP-CLASS = contains;
>>ATTRIBUTE = description.
HP32201A.7.16 EDIT/3000 WED, NOVEMBER 13, 1984, 4:34 PM
(C) HEWLETT-PACKARD CO. 1984
/L ALL
1 This file contains all of the information
2 available for an order.
/ADD
3 These orders are only from the Midwestern
4 Region.
5 //
/L ALL