Hi,
We want to export four jobs and want to store it in one.dsx file, is it possible with command prompt?
We do not want to use Datastage Manger for the same..
We have searched in "dsjob" but there is only import option.no export option is present..
Can anybody help us out?
Thanks In Advance!!
Exporting jobs through Commad prompt
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 334
- Joined: Fri Dec 01, 2006 5:17 am
- Location: Texas
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
you can use this command its there in 8x but dont know its there in 7x or not
you can put it in a batch file and then schedule it
if you want only few jobs from a project then search for some options of dscmdexport
regards
Code: Select all
cd path of dscmdexport.exe
dscmdexport /D=ServerIP:9080 /H=ServerIP:31801 /U=UserName /P=password ServerName/ProjectName ProjectExport.dsx
if you want only few jobs from a project then search for some options of dscmdexport
regards
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.
-
- Participant
- Posts: 334
- Joined: Fri Dec 01, 2006 5:17 am
- Location: Texas
Script to export one at a time and insert into a single dsx
I have written a BAT script that takes a list of jobs and exports them one at a time into a a single dsx on your PC is this what you are looking for.
etlbets
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
UNIX pathnames? These executables are on the client machine, not on the server machine.AmeyJoshi14 wrote: As per the details in the above post i have searched for dsexport and dscmdexport in '/tools/Ascential/DataStage', but any of the "export" commands are not present in the above path.
Can anybody please tell me why this commands are not present in our environment?
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.
-
- Participant
- Posts: 334
- Joined: Fri Dec 01, 2006 5:17 am
- Location: Texas
Re: Script to export one at a time and insert into a single
Hi,etlbets wrote:I have written a BAT script that takes a list of jobs and exports them one at a time into a a single dsx on your PC is this what you are looking for.
Yes can you please provide me the script ,so that we can implement the same :D
Thanks in Advance!
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)