You can also use the DDL processor to load or update data into tables by placing one or more of the following DML statements in the same file as DDL statements:
This is a convenient way to load test data into tables.
Statements cannot contain any host variables and you cannot use quotes ( " ) around literals. You must use apostrophes ( ' ). You should also issue a COMMIT before you try to insert data into a table if it was created within the same unit of work. For example:
-- Create Available Product table CREATE TABLE MF.PRODUCT (PROD_ID CHAR(04) NOT NULL ,PROD_DESC CHAR(40) NOT NULL WITH DEFAULT ,VERSION CHAR(6) NOT NULL WITH DEFAULT ,PRIMARY KEY (PROD_ID) ) IN DSB8G210.CISC0001 ; COMMIT ; -- Sample data for Product table INSERT INTO MF.PRODUCT (PROD_ID ,PROD_DESC ,VERSION ) VALUES ('SR02' ,'Host Compatibility Option ' ,'2.0.01' )