Run DDL Files in DB2

January 02, 2019

Before running this command, exit the DB2 shell:

db2 -tvf MY_DDL_FILE.ddl -z ./.out

The output to the commands will be stored inside of the file .out.