Page 1 of 1

routine for ftp?

Posted: Tue Jan 29, 2008 12:57 am
by SHARAD123
Hi,
Can anyone tell me whats the code to FTP using a routine in datastage? Also the file that is FTPed has to be archived.
Thanks in advance

Posted: Tue Jan 29, 2008 1:09 am
by ray.wurlod

Code: Select all

Command = "(pathname of FTP script) && (command to archive)"
Call DSExecute("DOS", Command, Output, ExitStatus)

Posted: Tue Jan 29, 2008 1:10 am
by SHARAD123
Thanks.