Dataset comparision from Oracle and Teradata

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
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Dataset comparision from Oracle and Teradata

Post by prasson_ibm »

Hi All,
I have dataset generating using Oracle and Teradata.
One job has source as Oracle and other has source as Teradata.
I need to compare two datasets generating from these two jobs.Is there any way i can compare datasets.

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

Post by ray.wurlod »

Difference stage, Compare stage, Change Capture stage?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Hi Ray,

Thanks for your suggestion,but i have multiple jobs creating these datasets,so i cant prepare a job to compare using difference stage,compare stage or change capture and meteadata for all these jobs are not same.Is there any way i can check the file differce (.ds) on unix/Aix server.

Thanks
wernerg_at
Premium Member
Premium Member
Posts: 30
Joined: Thu Jan 14, 2010 5:46 am
Location: Austria

Post by wernerg_at »

you may create a dataset dump using the orchadmin command and do a dump-comparison on operating system level using diff or sdiff.

BR

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

Post by ray.wurlod »

Note that the *.ds files will always differ from each other. Comparing those is pointless. Werner's approach will get you what you seek, or very close to it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
asyed
Participant
Posts: 16
Joined: Sun Dec 12, 2010 10:24 pm
Location: Hyderabad, India

Post by asyed »

ray.wurlod wrote:Note that the *.ds files will always differ from each other. Comparing those is pointless. Werner's approach will get you what you seek, or very close to it. ...
Hi Ray,

Can we have a job with run time column propagation enabled, with generic toolbox having orchestrate code for changecapture etc.

we can try to pass keys/values as arguments to the orchestrate command in generic toolbox.

Thanks,
Asif
prashanth.spl
Participant
Posts: 23
Joined: Mon Jan 14, 2008 6:09 am

Post by prashanth.spl »

Asif,

You can use the Compare stage to do the comparison between 2 different source by using RCP. We have done this to compare Oracle and teradata.
Post Reply