How to invoke programs in a remote 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
jusami25
Premium Member
Premium Member
Posts: 84
Joined: Tue Oct 26, 2004 12:49 am

How to invoke programs in a remote server

Post by jusami25 »

Hi,

I'm wondering what it's the best solution for DataStage to call a remote program in another server.

For example DS is installed in the server A and we have the program dtsrun in the server B. If a use a sequencer in the machine A and the I use the Commnad Stage, what is the best way of calling the program dtsrun in the server B??



Any idea would be very appreciated.

Thanks
Julio
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Julio,

if you have MKS toolkit or something similar intalled, the rsh program might be an easy way to do it, or if the other machine is a windows-based one then (depending on your security setup and connections) you might be able to run the program directly using \\node\drive\program.exe syntax.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can also use the AT command.

Code: Select all

AT \\computername time "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