This updates the tables in the data dictionary to show the addition of this table. The structure of the table is contained in dd, the data definition. A table is created, and a pointer to the table returned.
The type of the table can be either 'T' for a regular table or 'B' for a BTREE table. BTREE tables provide fast access from the primary key, although no further indices are allowed. A BTREE table has little significance within the loader functions, although the gains occur when the table is accessed from SQL, where the query plan generator can use the inherent index.
opendbtbl(), closedbtbl(), createindex()