Page 1 of 1

How to export one job from command line

Posted: Wed Jul 02, 2008 7:51 am
by MVL
How to export one job from command line?

As we cant export a category, I am planning to select a list of jobs pertaining to a category and then export the jobs one by one. But for that I need a command to export a job....

Please let me know..

Thanks

Posted: Thu Jul 03, 2008 2:02 am
by AmeyJoshi14
Hi,
If you want to take back ups you can use Datastage Manger or there is one more option you can check in the Uncle Kim's site where you can automate the back ups :wink:
http://www.duke-consulting.com/DataStage_Tips.htm

But from the command line utility you can use :

Code: Select all

dscmdexport
dscmdimport
I am not sure whether 'dscmdexport' will work.... :?

Posted: Fri Jul 04, 2008 5:25 am
by ogmios
But in short you cannot export 1 job via the command line. You can export all jobs and then cut out the job you need (several 3rd party little tools exist to do that).

Exporting datastage job from command line

Posted: Fri Jul 04, 2008 7:06 am
by arunkumar1111
you can use DSEXPORT command

DsExport /H=<Host> /U=<User> /P=Password /JOB=<Job Name> <project> <Location>