HP 3000 Manuals

COMMAND USAGE CHART [ DICTIONARY 3000 ] MPE/iX 5.0 Documentation


DICTIONARY 3000

COMMAND USAGE CHART 

The following chart indicates the order in which the Dictionary commands
can be used.  The HELP command can be issued any time during a command
sequence as long as the command prompt (>) appears.

                                   --------
                                  | CREATE |
                                   --------
                                      |
                     -----------------|----------------
               -----/                 |                \--------
              | ADD |                 |                | RELATE |
               -----                  |                 --------
                 |                    |                    |
                 |                    |                    |
                 |                    |                    |
                 |                    |                    |
            ------------         ------------         ------------
           |   REPORT   |       |   REPORT   |       |   SHOW     |
           |   SHOW     |       |   DISPLAY  |       |            |
           |            |       |   LIST     |       |            |
           |            |       |            |       |            |
           | RESEQUENCE |       |   RENAME   |       |   REORDER  |
           |            |       |            |       |            |
           |   UPDATE   |       |   MODIFY   |       |   CHANGE   |
           |            |       |            |       |            |
           |   DELETE   |       |   PURGE    |       |   REMOVE   |
           |            |       |            |       |            |
           |   SECURE   |       |            |       |            |
            ------------         ------------         ------------

The chart shows that entities must first be created in the dictionary
through the CREATE command.  Next, entities can be added to other
entities through the ADD command, related to other entities through the
RELATE command, or displayed or modified through the commands listed in
the center box (REPORT, DISPLAY, LIST, RENAME, MODIFY, or PURGE).
Following the ADD command, the REPORT, SHOW, RESEQUENCE, UPDATE, DELETE,
or SECURE commands can be used.  Following the RELATE command, the SHOW,
REORDER, CHANGE, or REMOVE commands can be used.  The EXIT command, not
shown in the above chart, can be used at any time to exit the data
dictionary program (DICTDBM). Looking at the three large boxes shown in
the chart, note that each horizontal row of commands are similar.  For
example, UPDATE, MODIFY, and CHANGE are similar.  The difference between
such commands is the command it follows:  ADD, CREATE, or RELATE.

The commands which follow the ADD command (REPORT, SHOW, RESEQUENCE,
UPDATE, DELETE, and SECURE) can be used to display or modify entities
which have been ADDed to other entities.  For example, these commands can
be used to display or modify an element which has been added to a file.
Entities are always added to unlike entities - that is, an element is
added to a file, but an element can not be added to another element.
Hence, REPORT and SHOW can be used to display the association between
unlike entities.  Similarly, RESEQUENCE, UPDATE, DELETE, and SECURE are
used to modify the association between unlike entities.

Similarly, the commands which follow the RELATE command (SHOW, REORDER,
CHANGE, and REMOVE) can be used to display or modify entities which have
been RELATEd to other entities.  Entities are always related to like
entities - for example, a file can be related to another file, but an
element can not be related to a file.  Hence, SHOW can be used to display
the relationship between like entities; REORDER, CHANGE, and REMOVE are
used to modify the relationship between like entities.

The commands which follow the CREATE command (REPORT, DISPLAY, LIST,
RENAME, MODIFY, and PURGE) affect the entities themselves.  They can be
used to display or modify any entities which have been created, whether
they have been added or related to other entities or not.


MPE/iX 5.0 Documentation