Difference between a .dsx file and .xml file

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Svengiyil
Participant
Posts: 25
Joined: Tue May 05, 2009 12:16 am

Difference between a .dsx file and .xml file

Post by Svengiyil »

Hi,


I'm quite new to datastage and i work on server jobs,
I want to know the difference between the options on the files we have , that is .dsx file and .xml file that gets created during job export?


Thanks,
Svengiyil
fareeda_b
Participant
Posts: 48
Joined: Sat Feb 23, 2008 4:25 pm

Post by fareeda_b »

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

Post by ray.wurlod »

There is no difference whatsoever in terms of the information stored within them. It's purely a formatting difference.

Some commands, such as dsjob -import or dsimport, (available in version 8 only) can only use DSX format files. There exists a conversion utility called xml2dsx to convert XML format export files into DSX format.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Svengiyil
Participant
Posts: 25
Joined: Tue May 05, 2009 12:16 am

Post by Svengiyil »

Thanks for all the reply,

Is there any scenario where using .xml file is a must?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I cannot think of such a scenario. The .xml format was most likely implemented so that DataStage could boast being "open" and that it uses a common interchangeable format.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There is an extra step needed when importing a .xml export file, it will first be converted to .dsx 'under the covers' automatically and then imported. This conversion can be... lengthy. FYI.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Svengiyil
Participant
Posts: 25
Joined: Tue May 05, 2009 12:16 am

Post by Svengiyil »

Thanks again for all the info..
Post Reply