executeing a shell script from different 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
ann
Participant
Posts: 19
Joined: Thu Jan 06, 2005 12:02 pm

executeing a shell script from different server

Post by ann »

Hi all,
I wanted to install datastage on linux redhat AS 3.0.
What my Q is if I want to execute a shell script which is in another Unix sever Can I Execute that shell script from datastage which is installed on linux on different server.
If I can how?

Thanks in advance.
Ann
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

remsh, rlogin, rsh, ftp w/before/after script are some options.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ann
Participant
Posts: 19
Joined: Thu Jan 06, 2005 12:02 pm

Post by ann »

Thank u very much for the reply.

SO when I want to execute shell I have to do is rsh script.sh
In detail: I have a batchjob, which runs an extract job. After that finishes, I need to execute shell. so in the code all I have to do is

rsh path\script.sh ?

What if I want to execute through secure shell? I know that rsh is for non-secure shell.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

ssh
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ann
Participant
Posts: 19
Joined: Thu Jan 06, 2005 12:02 pm

Post by ann »

Thank you again Kenneth .
Post Reply