connect 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
nivas
Participant
Posts: 117
Joined: Sun Mar 21, 2004 4:40 pm

connect remote server

Post by nivas »

Hi
could you please suggest how do i connect a remote server using ExecDOS.
thanks
Nivas
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What do you mean by "connect" in this question?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
nivas
Participant
Posts: 117
Joined: Sun Mar 21, 2004 4:40 pm

Post by nivas »

I need to connect to a remote server console and need to execute a batch file on that remote machine. I have batch program sits on the remote machine. Using ExecDOS I need to execute the batch file on the remote machine from my machine/server.
thanks
Nivas
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Ordinarily you would use some kind of remote execution protocol, such as "rsh" (remote shell) or "rlogin" (remote login).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
nivas
Participant
Posts: 117
Joined: Sun Mar 21, 2004 4:40 pm

Post by nivas »

Thanks for your information.
I am trying to use as follows. The remote server is on windows OS.

rsh <host> -l userid <pwd> <commnad>

I am getting error as connection could not be established. userid and pwd are correct. I tried with rexec also.
If you can provide me some more information that would be a great otherwise I will do some search. Thanks RAY for your quick info.

thanks
Nivas
Post Reply