Dictionary/3000 Reference Manual (32244-90001)

Chapter 4 71
DICTDBM Commands
Change
Change
Changes the description of a relationship established with the RELATE command.
Syntax
< [option] CHANGE subcommand CHG
Use the CHANGE command to change the description of a relationship or to change the
attributes of a child entity in the relationship established with the RELATE command. A
complete list of attributes which can be changed is given below under Subcommands.
The subcommands are used to identify the type of parent entity that defines the
relationship. For example, CHANGE ELEMENT can change the starting position of a
child element within the parent element and/or edit the textual description of the
relationship.
Subcommands
Any of the following subcommands can be used with the CHANGE command:
CATAGORY changes a category to category description
CLASS changes a class to class description
ELEMENT changes an element to element entry and/or description
FILE changes a file to file entry and/or description
GROUP changes an HP Inform group to group description
PROCEDURE changes a procedure to procedure description
Example
>CHANGE ELEMENT
PARENT ELEMENT> Name < Enter the parent's name.
CHILD ELEMENT> First-name < The child to be changed.
EDIT DESCRIPTION(Y/N)? N N to go directly to
attributes.
CHILD ALIAS: POSITION: Existing attribute information.
STOCK1 1
CHILD ALIAS> Stock2 < Identifies new element alias.
START POSITION> 4 < Identifies new position of
child within parent's list.
CHILD ELEMENT> < [[RETURN]] to terminate command.
> New command prompt.