How to run an Unix script from windows server

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
muascdev
Charter Member
Charter Member
Posts: 51
Joined: Tue Oct 10, 2006 5:48 pm

How to run an Unix script from windows server

Post by muascdev »

i need to run an unix script from an etl server thats on windows. how do I do that. pl help.
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

Look into the option - MKS toolkit
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
muascdev
Charter Member
Charter Member
Posts: 51
Joined: Tue Oct 10, 2006 5:48 pm

Post by muascdev »

whats this toolkit. does it come with Datastage?
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

Depends on your DS version.
Check this linkfor more details.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

rsh UNIXhostname options -l remoteusername command

Options include
-D enable socket debugging
-N send all output to stdout, nothing to stderr
-n redirect stdin from /dev/null (.\NUL)

Examples
rsh username@hostname -DNn command
rsh -DNn -l username hostname command
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply