How to export Export the datastage job as XML.

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
moalik
Participant
Posts: 39
Joined: Thu Sep 15, 2011 8:15 am
Location: Melbourne

How to export Export the datastage job as XML.

Post by moalik »

Hi,

Is there any command line argument, where we can export the datastage job as XML instead of DSx or ISX format.

I have 100's of jobs that need to be exported.

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

Post by ray.wurlod »

Yes, there's an option to dscmdexport command. I can't recall what the actual option is at the moment, but would guess that it's /XML.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
moalik
Participant
Posts: 39
Joined: Thu Sep 15, 2011 8:15 am
Location: Melbourne

Post by moalik »

I tried something like below:

dsexport /h=host /u=user /p=password project_name /xml /job=job_name job_name.xml

But hard luck :(
Mohsin Khan
Datastage Consultant
chanaka
Premium Member
Premium Member
Posts: 96
Joined: Tue Sep 15, 2009 4:06 am
Location: United States

Post by chanaka »

Proper syntax is given below.

dsexport.exe /D domain /H hostname /U username /P password /JOB jobname /XML /EXT
/EXEC /APPEND project pathname1

example:
dsexport.exe /D ct-dsserver:9080 /H ct-dsserver /U dsadm /P dsadm /XML dstage2 C:/temp/dstage2.xml

reference: http://pic.dhe.ibm.com/infocenter/iisin ... mmand.html
Post Reply