tableBASE tables can be populated using sequential files extracted from DB2, Oracle, etc. by using a batch import utility such as TBEXEC. For more information see the tableBASE Batch Utilities Guide.
A table can also be populated from within an application. Figure 88 is an example of opening a table for write and Figure 89 is an example of inserting rows into the table.
The parameter PASSWORD is needed in this example as the existing table has a write password.
Assume there is a table with ten rows, each of which is defined in an array in memory called INPUT-DATA, and that the table is open for write. Figure 89 is an example using the Insert by Key (IK) command to load these ten rows into the table. Note that for brevity the error code and found code checking which should follow each tableBASE command have been omitted from this example.