12 IBM Informix OnLine Database Server Administrator’s Guide

Sample Code Conventions

To construct a similar command, start at the top left with the command
tbunload.Then follow the diagram to the right, including the elements that
you want.Figure 1 illustrates the following steps.
1. Typetbunload.
2. Optionally,changethe parameters of the tape device that is to receive
the data.
Ifyou wish to do this, turn to page 7-109for further syntax informa-
tion. Otherwise,tbunload uses the current archive tape device.
3. Specify either a database name or a table name to indicate the data
that you wish to copy to tape.
You can take the direct route to theterminator, or you can take an
optional path indicated by any one of the branches below the main
line.
Onceyou are back at the main diagram, you come to the terminator.
Yourtbunload command is complete.
4. PressRETURN to execute the command.
Sample Code Conventions
Examplesof SQL code appear throughout this manual. Except where noted,
thecode is not specific to any single Informix application development tool.
If only SQL statements are listed, they are not delineated by semicolons.
For instance, you might see the following example code:
DATABASE stores
.
.
.
DELETE FROM customer
WHERE customer_num = 121
.
.
.
COMMIT WORK
CLOSE DATABASE