Running DS Jobs from DOS Batchfile

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
aolasoji_2
Participant
Posts: 9
Joined: Sun Sep 26, 2004 8:21 pm
Location: Melbourne

Running DS Jobs from DOS Batchfile

Post 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
ashwin2912
Participant
Posts: 57
Joined: Wed Jan 26, 2005 10:22 pm
Location: India

Post by ashwin2912 »

If you are having DS Server on Windows you should have no problem running batch file using dsjob command.
Ashwin
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ashwin2912
Participant
Posts: 57
Joined: Wed Jan 26, 2005 10:22 pm
Location: India

Post 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?
Ashwin
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No.

They don't supply DS for MKS or Cygwin.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post 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,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
ashwin2912
Participant
Posts: 57
Joined: Wed Jan 26, 2005 10:22 pm
Location: India

Post by ashwin2912 »

Where exactly is this? Can you share the download link...
Ashwin
Post Reply