dsexport.exe command line export of jobs in xml format

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Theenathayalan
Participant
Posts: 15
Joined: Fri Jul 06, 2007 4:48 pm

dsexport.exe command line export of jobs in xml format

Post by Theenathayalan »

Hi

I need to export jobs in xml format instead of dsx using command line dsexport.exe

Appreciate the help.

Thanks
Theena
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The command line only supports the dsx format. Out of curiousity, why xml?
-craig

"You can never have too many knives" -- Logan Nine Fingers
wfis
Premium Member
Premium Member
Posts: 70
Joined: Wed Feb 28, 2007 2:38 am
Location: India

Post by wfis »

use /xml just before the target location
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That's not anything I've ever seen documented... is this something that works in 7.x or was it added in the 8.x release? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Theenathayalan
Participant
Posts: 15
Joined: Fri Jul 06, 2007 4:48 pm

Awesome

Post by Theenathayalan »

wfis wrote:use /xml just before the target location
It works great.

thank you very much.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Note to self. :wink:

Please mark your post as Resolved using the button at the top of the page.
-craig

"You can never have too many knives" -- Logan Nine Fingers
wfis
Premium Member
Premium Member
Posts: 70
Joined: Wed Feb 28, 2007 2:38 am
Location: India

Post by wfis »

The command dsexport.exe(DS7.5) export the data stage job in xml format but it will not include the dependent components like build ops or table definations.
But DS8 dsexport xml works fine it includes all dependent components autometically without passing any specific parameter with the command.

Does anyone know how can we get the same in DS7.5 ?
Post Reply