Dictionary/3000 Reference Manual (32244-90001)

Chapter 4 127
DICTDBM Commands
Resequence
Resequence
Resequences a data element within an association established with the ADD command.
Syntax
[option] RESEQUENCE subcommand RES
Use the RESEQUENCE command to change a data element's position within an entity's
list of associations which was established by the ADD command. A complete list of entities
for which data elements can be resequenced is given below under Subcommands.
The subcommand identifies the type of entity for which a resequencing is to occur. For
example, RESEQUENCE FILE changes the position of a data element in the list of
elements associated with that file.
The name of the element before which the resequenced element is to be placed is entered
in response to the NEW POSITION prompt. Pressing [[RETURN]] in response to this
prompt places the resequenced element at the end of the association list for the entity. To
see the current list of associations and current positions, use the SHOW command.
Subcommands
Any of the following subcommands can be used with the RESEQUENCE command:
CATEGORY resequences a data element within a category
CLASS resequences a data element within a security class
FILE resequences a data element within a file
GROUP resequences a data element within an HP Inform group
PROCEDURE resequences a data element within a procedure
Example
>RESEQUENCE FILE
FILE> Customer < The file's name.
PRIMARY/SECONDARY(P/S)? < Indicates element is in the
Primary format.
ELEMENT> Last-name < Element to be resequenced.
NEW POSITION> Street-addr < New position is before
this element.
ELEMENT> [[RETURN]] to terminate
command.
> New command prompt.