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
How to export one job from command line
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 334
- Joined: Fri Dec 01, 2006 5:17 am
- Location: Texas
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
http://www.duke-consulting.com/DataStage_Tips.htm
But from the command line utility you can use :
I am not sure whether 'dscmdexport' will work....
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
http://www.duke-consulting.com/DataStage_Tips.htm
But from the command line utility you can use :
Code: Select all
dscmdexport
dscmdimport
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)
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)
-
- Participant
- Posts: 19
- Joined: Sun Jun 29, 2008 10:19 pm
Exporting datastage job from command line
you can use DSEXPORT command
DsExport /H=<Host> /U=<User> /P=Password /JOB=<Job Name> <project> <Location>
DsExport /H=<Host> /U=<User> /P=Password /JOB=<Job Name> <project> <Location>