Page 1 of 1

compare two .dsx files

Posted: Tue Mar 18, 2008 3:14 am
by mohandl
Hi All

Is there any way to compare two .dsx files having same code but diff environments.

Mohan

Posted: Tue Mar 18, 2008 3:19 am
by ArndW
The preferred way would be to this via a DataStage job but you could also use the UNIX "orchadmin dump {file.ds}" on both files and "diff" them.

Posted: Tue Mar 18, 2008 3:27 am
by balajisr
Arnd,

OP question was to compare two .dsx files. :wink:

Posted: Tue Mar 18, 2008 3:29 am
by ArndW
Oopsie, thanks for correcting me. UNIX "diff" is your friend here.

Posted: Tue Mar 18, 2008 3:30 am
by ArndW
Umm, I already apologized once...

Posted: Tue Mar 18, 2008 4:03 am
by DS_SUPPORT
Seems, the OP is in windows. and for windows , you are having lot of freewares, where you can compare two files.

I am using EXAMDIFF.

Dos commands to compare files

Posted: Tue Mar 18, 2008 4:30 am
by JoshGeorge
DOS commands "comp" or "fc". Textpad (Free download text editor for Windows) also does file comparison.

Re: Dos commands to compare files

Posted: Tue Mar 18, 2008 4:44 am
by sachin1
examdiff is good with graphical interface.

Posted: Tue Mar 18, 2008 5:37 am
by balajisr
ArndW wrote:Umm, I already apologized once...
My previous post turned out to be double post and it is a coincidence that you had replied in between those posts. I had deleted the duplicate post after noticing it and i guess you had replied to my duplicate post while i was trying to delete it. :)

Re: compare two .dsx files

Posted: Tue Mar 18, 2008 5:43 am
by ray.wurlod
mohandl wrote:Hi All

Is there any way to compare two .dsx files having same code but diff environments.

Mohan
Once you get version 8, you can compare two versions of, say, a job right there on the canvas, and the report contains hyperlinks to the location of all differences found. Magic!