shell script execution on datastage 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
kum_d
Participant
Posts: 20
Joined: Tue Jul 17, 2007 4:53 am

shell script execution on datastage server

Post by kum_d »

Hi

I have my datastage server on windows environment and i need to get file from unix server which is remote.

I need to execute the shell script in datastage job using execsh where datastage server is in windows environment.

is there any alternative for this to run the unix commands which are in that shell script.

can u pls advice me here?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You can execute a CMD shell command on your windows server, and from that you can execute a rsh command to your UNIX server; assuming you have installed a tool like MKS toolkit or similar package.
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Or intall something like Cygwin on the Windows server side. Then, you connect to your Unix box thru "ssh" and do whatever the tasks need to be done on the Unix side.
reypotxo
Participant
Posts: 15
Joined: Mon Jan 29, 2007 3:53 am

Re: shell script execution on datastage server

Post by reypotxo »

You can run a cmd script from windows that launchs the ftp utility and connect to your unix server and get the file without install anything
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

"FTP", you don't mind everyone is looking your confidential data?
Post Reply