Dictionary/3000 Reference Manual (32244-90001)

Chapter 2 19
How to Run Dictionary/3000
Command Syntax
Command Syntax
A DICTDBM command string has the following syntax:
Syntax
[option] COMMAND subcommand
option A list of one or more command options which enhance or modify the action
of the command. For example, REPEAT, SORT, etc. (See Options Used
With Commands, described next, for an explanation of each option.)
COMMAND Specifies the command action. For example, ADD, RELATE, etc.
subcommand Specifies the target of the command's action. For example, ELEMENT,
GROUP, etc.
For each command except the EXIT and HELP commands, you must enter both the
command and the subcommand. Optionally, each command string can be preceded by one
or more options. Only one command string is allowed for each command prompt.
The appropriate abbreviations may be used for the commands and subcommands.
Options Used with Commands
The following is a list of options which enhance or modify the action of the command.
When used, they must appear first in the command syntax and can not be abbreviated.
PRINT Directs the display to the line printer rather than to the user terminal.
TPRINT Formats the terminal display in line printer format.
SORT Sorts the display listing alphabetically before output.
REPEAT Repeats a command until the termination character (]) or the RETURN
key is entered in response to a prompt.
A single command string can have multiple options that are separated by commas.
When to Use the Options
The PRINT option is useful when you are displaying information. For example, use PRINT
with the LIST, DISPLAY, or SHOW command.
The TPRINT option is useful before directing output to the line printer. The listing will be
displayed on your terminal in line printer format. Line printer format includes a banner
line which shows the date and time of the report and where page breaks occur including
page numbering.
The SORT option is useful when you want an alphabetical listing from the LIST and
DISPLAY commands. The REPORT command automatically displays the list in
alphabetical order.
When used, the REPEAT option causes the prompts for the command and/or subcommand
to be repeated until terminated by the RETURN key or the termination character (]). One