Running a custom script during the database upgrade (Db2®)
If you want to run a custom script during the database upgrade process, edit the sql-wrapper.sql file to specify the script to run.
About this task
You can use the custom_data_upgrade_script parameter to configure a custom
script.
The script that you specify is run during the database upgrade step. The custom script is called by the op-database-product-upgrade.sh/bat script after the other upgrade steps, such as DDL changes, PL/SQL code changes, and database level data changes are complete.