OWB (Oracle Warehouse Builder) 迁移助手遇到无效替换错误

OWB (Oracle Warehouse Builder) migration assistant encounter an invalid substitution error

目前,我们正在使用 OWB11gR2(11.2.0.4) 进行 ETL 处理。我们正计划将我们的 oracle 数据库升级到数据库 19c。由于在 11gR2 之后 OWB 不再存在,我们需要将 OWB 迁移到 ODI(Oracle Data Integrator)中。在浏览了不同的文档之后,我们找到了一种使用 owb 迁移助手将 owb 迁移到 odi 的方法。 我们正在尝试通过以下方式运行 AIX 7.2 中的迁移助手。

$OWB_HOME/owb/bin/unix/
./migration.sh <odi_master_password> <odi_user_password> <owb_workspace_owner_password> <configuration_file> 

但是,迁移助手因以下错误而失败。

migraiton.sh[24]: "${1:0:13}": 0403-011 the Specified substitution is not valid for this command.

以下是解决此问题的解决方法。

$OWB_HOME/owb/bin/unix/ ~/.bashrc
./migration.sh <odi_master_password> <odi_user_password> <owb_workspace_owner_password> <configuration_file>

或者在迁移助手脚本之前使用 bash 的完整路径。

/usr/bin/bash migration.sh <odi_master_password> <odi_user_password> <owb_workspace_owner_password> <configuration_file>