Page 1 of 1

shell script execution on datastage server

Posted: Sun Aug 05, 2007 8:15 am
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?

Posted: Sun Aug 05, 2007 2:32 pm
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.

Posted: Sun Aug 05, 2007 4:13 pm
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.

Re: shell script execution on datastage server

Posted: Mon Aug 06, 2007 4:14 am
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

Posted: Mon Aug 06, 2007 10:26 am
by lstsaur
"FTP", you don't mind everyone is looking your confidential data?