sharing database load job with different input columns

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Aggie99
Participant
Posts: 54
Joined: Thu Sep 04, 2008 6:54 pm

sharing database load job with different input columns

Post by Aggie99 »

I have a simple job that flow like this.

odbc enterprise stage -> transform stage -> load to target table.

I have 10 tables with different columns to load to 10 target tables, using the above logic. There is not much happening in the transformer stage, except to add current date time. All the input columns are kept and stored in target tables.

Instead of creating 10 jobs, and change the input layout. I hope to use one common parallel job.

My questions are:

How can I handle the different input columns? Is there something like schema file option in database stage. I was not able to find it.

Please for your help.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Runtime Column Propagation should look after most of that for you provided that the target column names are the same as the source column names. And if they're not maybe you can create alias column names in the target table.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply