## zowe › dbm-db2 › generate

Generate DDL statements for Db2 objects.

#### Usage

zowe dbm-db2 generate <command>

Where <command> is one of the following:

#### Commands

- ddl - Generate CREATE or DROP DDL statements for specified Db2 objects into an output DDL file. For example, use this command to generate CREATE TABLE definitions that you can then edit and use to update the table definition on a Db2 subsystem with the 'zowe dbm compare ddl' command. For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm-db2-for-zowe-cli