Different metadata in source and target tables

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
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Different metadata in source and target tables

Post by DSRajesh »

Hi

I have two diff databases with source sql server and target oracle db
i have different metadata source and target tables in both the systems
when i ever i try to load columns in target table from oracle ,i ma losing the actual metadata from source table and replacing with target metadata.

how to i stop this to different metadata into the both systems

regards
rajesh
RD
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

Put another stage ( transformer ) in between source and target then you can make conversions in transformer .
Nag
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

why do i put transformer?
here i am facing diferent issue not data conversion
RD
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Nagarjuna is correct. Try it and you will understand.
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

Hi Sai and Nag,

Thank you for the response.
I understood your concept of transformer in order to have different meta data in source and target as we can change the metadat in transformer if i am correctly understood.
But we can do the same usin modify where we can achieve the perforamance.

here if i have to take 200 coulmns in my target whose metadata is altogether from source metadata do i need to change for 200 columns?

or is there any alternative to directly have metadata for target itself?
RD
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The column definition collection is a property of the LINK.

Does that help your understanding?
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