How to export one job from command line

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
MVL
Premium Member
Premium Member
Posts: 33
Joined: Wed Apr 30, 2008 5:43 am

How to export one job from command line

Post 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
AmeyJoshi14
Participant
Posts: 334
Joined: Fri Dec 01, 2006 5:17 am
Location: Texas

Post 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.... :?
http://findingjobsindatastage.blogspot.com/
Theory is when you know all and nothing works. Practice is when all works and nobody knows why. In this case we have put together theory and practice: nothing works. and nobody knows why! (Albert Einstein)
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Post 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).
In theory there's no difference between theory and practice. In practice there is.
arunkumar1111
Participant
Posts: 19
Joined: Sun Jun 29, 2008 10:19 pm

Exporting datastage job from command line

Post by arunkumar1111 »

you can use DSEXPORT command

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