Hi,
This is the first time i am trying to execute the dsexport command. I was figuring out, is thery any way i could export only 4 jobs/sequencers under the same dsx name ?
I used the below command as mentioned in Manager Guide
dsexport.exe /H hostname /U username /P password /O omitflag project
pathname1
DSExport to export selective jobs
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 26
- Joined: Thu Apr 17, 2008 1:38 pm
- Location: Chennai
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
-
- Premium Member
- Posts: 232
- Joined: Fri Aug 04, 2006 1:20 am
- Location: Bangalore
generally for this requirement, i will write a bat file, which will export each job in a different dsx file and finnally append all the dsx files to one.
Here "C:\export\DsxList.txt" will contain all the jobnames which has to be exported, and each job will be exported to aa.dsx individually and finally it will be appended to dsfinal.dsx.
Code: Select all
For /F "tokens=1" %%i in (C:\export\DsxList.txt) do (
C:\Progra~1\Ascential\DataStage7.5\dsexport /H=AnandLocal /U=Administrator /P=****** /JOB=%%i PRJ_TRAINING c:\export\aa.dsx
type C:\export\aa.dsx >> C:\export\dsfinal.dsx
)