Two application examples of command language are shown in Figure 14.13.
The first shows a user who asks to use a file containing data on all salespeople, then
asks the computer to display all last names and first names for all salespeople
whose current sales (CURSALES) are greater than their quotas. In the second
example, a user asks to use a file called GROCER, then directs the computer to
calculate the spoilage (SPOILS) by subtracting produce sold from produce
bought. After that is done, the user asks to go back to the top of the file and to
print out (LIST) the file.