The commands file specifies:
There is no file naming convention for the commands file. For example, the commands file name to load the ORDERS table could be orders.cmd.
The commands file must contain the following parts:
The syntax definition for the commands file is as shown:
dbdump_commands:
define_record_statement
for_record_statement
The following is sample commands file showing dump instructions.
DEFINE RECORD ord_rec AS
( ord_no, item_name, date, item_qty ) FIELD DELIMITER ' ' ;
FOR RECORD ord_rec dump into ord_dat
USING SELECT order_no, product, order_date, qty
FROM items;