DB2 zOS Database Name
Published 03 October 2024
DB2 z/OS Database Name
Description
(Required) The name of the DB2 z/OS database. This is used as a namespace for storage objects like tablespaces, similar to what a schema is for tables and indexes.
Usage
Commandline
./flyway -db2z.databaseName="example_database" info
TOML Configuration File
[flyway]
db2z.databaseName="example_database"
Configuration File
flyway.db2z.databaseName="example_database"
Environment Variable
FLYWAY_DB2Z_DATABASE_NAME=example_database
API
DB2ZConfigurationExtension dB2ZConfigurationExtension = configuration.getPluginRegister().getPlugin(DB2ZConfigurationExtension.class);
dB2ZConfigurationExtension.setDatabaseName("example_database");
Gradle
flyway {
pluginConfiguration = [
db2zDatabaseName: 'example_database'
]
}
Maven
<configuration>
<pluginConfiguration>
<db2zDatabaseName>example_database</db2zDatabaseName>
</pluginConfiguration>
</configuration>