--db2z-tracking-tables-location-tablespace

Last updated: March 26, 2026

--db2z-tracking-tables-location-tablespace is a global parameter that specifies the tablespace name for the Liquibase tracking tables on DB2 z/OS. There is no default value.

On DB2 z/OS, you may need to place Liquibase tracking tables (DATABASECHANGELOG and DATABASECHANGELOGLOCK) in a specific, pre-existing tablespace. When you do, Db2 does not automatically create the indexes those tables require, and a missing index leaves a tracking table in an unavailable state, blocking Liquibase from running.

When specifying a pre-existing tablespace, you must set --db2z-databasechangelog-index, --db2z-databasechangeloglock-index, and (if applicable) --db2z-tracking-tables-location-database together with this parameter. Omitting any of these parameters may leave the tracking tables unavailable or prevent Liquibase from running.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Liquibase properties file (defaults file)

liquibase.db2z.trackingTables.location.tablespace: <string>

Global flow file argument

globalArgs: { db2z-tracking-tables-location-tablespace: "<string>" }

Global CLI parameter

liquibase --db2z-tracking-tables-location-tablespace=<string>

JVM system property (JAVA_OPTS environment variable)

Unix:

JAVA_OPTS=-Dliquibase.db2z.trackingTables.location.tablespace=<string>

Windows:

JAVA_OPTS=-D"liquibase.db2z.trackingTables.location.tablespace"=<string>

Liquibase environment variable

LIQUIBASE_DB2Z_TRACKING_TABLES_LOCATION_TABLESPACE=<string>