I have an error occurring with a package under the following circumstances.
A high level package 'A' calls two other packages ('B' and 'C') which each call a number of other packages.
Package B runs packages that copy data from an Oracle database to a sql server repository database and package C copies/transforms the data to the final target sql server database.
One of the packages that Package B runs (lets call that 'X') returns an error when Package A is run but doesnt if run directly or run from Package B.
The error is Column "column name" not found.
The column exists in the Oracle source table and in the newly created (created in a step by package X) sql server table. The Oracle column is a varchar2 50 long with Null allowed (all the data in this column is currently Null) and the sql server column is varchar 50 nulls allowed.
I can verify that the tables are created and populated when I run 'X' or 'B' and that it is only 'A' that gives me the error.
Any suggestions on how to tackle this one?
Thanks in advance.
A high level package 'A' calls two other packages ('B' and 'C') which each call a number of other packages.
Package B runs packages that copy data from an Oracle database to a sql server repository database and package C copies/transforms the data to the final target sql server database.
One of the packages that Package B runs (lets call that 'X') returns an error when Package A is run but doesnt if run directly or run from Package B.
The error is Column "column name" not found.
The column exists in the Oracle source table and in the newly created (created in a step by package X) sql server table. The Oracle column is a varchar2 50 long with Null allowed (all the data in this column is currently Null) and the sql server column is varchar 50 nulls allowed.
I can verify that the tables are created and populated when I run 'X' or 'B' and that it is only 'A' that gives me the error.
Any suggestions on how to tackle this one?
Thanks in advance.