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
kum_d
Participant
Posts: 20 Joined: Tue Jul 17, 2007 4:53 am
Post
by kum_d » Sun Aug 05, 2007 8:15 am
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 » Sun Aug 05, 2007 2:32 pm
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 » Sun Aug 05, 2007 4:13 pm
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
Post
by reypotxo » Mon Aug 06, 2007 4:14 am
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 » Mon Aug 06, 2007 10:26 am
"FTP", you don't mind everyone is looking your confidential data?