## zowe › profiles › set-default › dbm-db2-profile

The dbm-db2 set default-profiles command allows you to set the default profiles for this command group. When a dbm-db2 command is issued and no profile override options are specified, the default profiles for the command group are automatically loaded for the command based on the commands profile requirements.

Warning: This command has been deprecated.
Recommended replacement: The 'config set' command

#### Usage

zowe profiles set-default dbm-db2-profile <profileName> [options]

#### Positional Arguments

- `profileName` (string)

  - Specify a
    profile for default usage within the dbm-db2 group. When you issue commands within the dbm-db2 group without a profile specified as part of the command, the default will be loaded instead.

#### Examples

- Set the default profile for type dbm-db2 to the profile named 'profilename':

  - `zowe profiles set-default dbm-db2-profile profilename`