Picking metadata at run time

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
mfshah
Participant
Posts: 2
Joined: Thu Jan 22, 2009 11:47 am

Picking metadata at run time

Post by mfshah »

I have to load data from oracle(source) to teradata(target). The jobs should be dynamic/flexible and pick the metadata information at run time i.e. If a change has made to the data model it shouldn't effect the DataStage job design. Say Col A was previously varchar 5 and now the lenght has increased to varchar10 Or an additional column has been added to the oracle table and we would like to pass it along to the target table. Is there any way to pick the metadata at runtime and make the datastage code flexible?
We are using Datastage 7.5.2 PX.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As long as there are zero transformations involved in the process, yes - it's called RCP or Runtime Column Propogation. Search here or in your pdf manuals for all of the gory details.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard.
mfshah wrote:The jobs should be dynamic/flexible and pick the metadata information at run time
Why?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mfshah
Participant
Posts: 2
Joined: Thu Jan 22, 2009 11:47 am

Post by mfshah »

ray.wurlod wrote:Welcome aboard.
mfshah wrote:The jobs should be dynamic/flexible and pick the metadata information at run time
Why?
If a DDL is made to the database, it should not effect job i.e. we shouldn't be changing datastage job
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Good luck with that. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Seriously, how often are table definitions changed in a real production environment.

The usual (professional) approach is that such changes are planned, and advised to everyone involved, including ETL developers so that they can assess the impact. A proper software development lifecycle should apply to ETL programming just as much as to any other form of programming.

What happens (for example) in the Business Intelligence tool that touches this amoeba table? Is that expected to be just as dynamic?
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