Hi all,
I explain the problem I'm facing :
I have a batch that executes the following commands :
- list all projects in a file (%DirDSBinLong%dsjob -server %DSHost% -user %DSUser% -password %DSPass% -lprojects > %ListProj%)
- read %ListProj%
- - list all jobs of the current project (%DirDSBinLong%dsjob -server %DSHost% -user %DSUser% -password %DSPass% -ljobs %%CurProj > %ListJobs%)
- - - read %ListJobs%
- - - create a dsx for each job (dsexport /H=%DSHost% /U=%DSUser% /P=%DSPass% /job=%%Job %%Proj %DirSave%\%%Proj%DateTime%\%%Job%DateTime%.dsx)
- - - concatenate the %%Job.dsx in a %%Proj.dsx
- - return to read nex %ListJobs%
- return to read next %ListProj%
The question is : is there anyway (option of dsexport ?) to run the dsexport "silently", even if an error occurs (job already opened, or else...) ?
Thanks in advance.
Pierre.
run dsexport in command line
Moderators: chulett, rschirm, roy