Export Whole Datastage Project in Unix Script
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 126
- Joined: Thu Jul 01, 2010 11:39 pm
Export Whole Datastage Project in Unix Script
Hi Guys,
I am using Datastage 8.5. I am writing a script which will run every sunday to export the whole datastage project.
Is there a option "-export" in dsjob command???
Or how to export the whole project from unix prompt.
Cheers!!!!
I am using Datastage 8.5. I am writing a script which will run every sunday to export the whole datastage project.
Is there a option "-export" in dsjob command???
Or how to export the whole project from unix prompt.
Cheers!!!!
Mac4rfree
-
- Premium Member
- Posts: 132
- Joined: Tue Sep 04, 2007 11:38 am
- Location: NOIDA
-
- Premium Member
- Posts: 132
- Joined: Tue Sep 04, 2007 11:38 am
- Location: NOIDA
Hi,
As I've seen, it's a zip containing xml exports. The odd thing is that this xml export is different from the Desiner one (xml not formated with the same xml tags).
From my experience, I got less problems with isx than dsx, at least for huge exports (whole projet in one file). One can also use the IS Manager to create a backup package, it also use isx files, though I don't know if you can call the manager using command line or script.
Eric
As I've seen, it's a zip containing xml exports. The odd thing is that this xml export is different from the Desiner one (xml not formated with the same xml tags).
From my experience, I got less problems with isx than dsx, at least for huge exports (whole projet in one file). One can also use the IS Manager to create a backup package, it also use isx files, though I don't know if you can call the manager using command line or script.
Eric
Re: Export Whole Datastage Project in Unix Script
I do the same thing, but use it for promotion between environments
istool export -archive Quickwin_jobs.dsx -domain linux50 -u username -p "password -ds ' "linux50/esa_dev/Jobs/QWin_test/*/*.*" -includ
edependent -incexec'
. Dev to test and to prod.
I include the dependents and the executable. that way the other environments don't have to recompile.
Cron job does the backup. putting it to tape.
istool export -archive Quickwin_jobs.dsx -domain linux50 -u username -p "password -ds ' "linux50/esa_dev/Jobs/QWin_test/*/*.*" -includ
edependent -incexec'
. Dev to test and to prod.
I include the dependents and the executable. that way the other environments don't have to recompile.
Cron job does the backup. putting it to tape.
Mark THomas
Data Architect
IBM GBS
Data Architect
IBM GBS
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
A couple of points.
The dscmdexport command is only available on the client. Therefore it can not be used in a UNIX script.
If you're exporting the whole project (*/*.*) then -includedependent is redundant.
The dscmdexport command is only available on the client. Therefore it can not be used in a UNIX script.
If you're exporting the whole project (*/*.*) then -includedependent is redundant.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.