Page 1 of 1

Running DS Jobs from DOS Batchfile

Posted: Mon Oct 10, 2005 8:57 pm
by aolasoji_2
I have always ran DS job from a Unix Shell Script, I have just written a job on Windows and having some problem creating a Batch file with which to run the sequence job. Does anyone have template for running DS jobs via a DOS batch file

Posted: Mon Oct 10, 2005 11:13 pm
by ashwin2912
If you are having DS Server on Windows you should have no problem running batch file using dsjob command.

Posted: Tue Oct 11, 2005 2:57 am
by ray.wurlod
I suspect that the problem is not with dsjob itself - which has exactly the same syntax - but with all the other things you can do with a UNIX shell script. BAT files are much more limited.

If you have MKS toolkit or cygwin or one of the other UNIX-on-Windows tools, you can continue to use shell scripts. Might be a better solution! If you're running 7.5x2 you do have MKS Toolkit. Since you posted on the parallel forum this would have been a reasonable assumption, except that you designated the job type as server.

Posted: Wed Oct 12, 2005 11:18 pm
by ashwin2912
Hi Ray,

Can Parallel jobs (DS 7.51a/7.5 -- not 7.5x2) be run on Windows using some MKS toolkit or cygwin or one of the other UNIX-on-Windows tools?
If yes, what is the best tool and how do I configure DS to work with that tool?

Posted: Thu Oct 13, 2005 4:04 am
by ray.wurlod
No.

They don't supply DS for MKS or Cygwin.

Posted: Sun Oct 16, 2005 10:56 am
by roy
Hi,
You can download from ADN the bat export file and learn how to run dsjob on windows.
I admit you'll need to study the file but all you need is there.
IHTH,

Posted: Tue Oct 18, 2005 11:36 pm
by ashwin2912
Where exactly is this? Can you share the download link...