Page 1 of 1

How to export Export the datastage job as XML.

Posted: Mon Nov 10, 2014 12:39 am
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,

Posted: Mon Nov 10, 2014 12:57 am
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.

Posted: Mon Nov 10, 2014 1:32 am
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 :(

Posted: Mon Nov 10, 2014 2:51 am
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