Abort Job if Shell script fails
Posted: Tue Jul 17, 2007 11:05 am
Hi All,
My requirement is to FTP few files with Current Date in file name (e.g.: File_Name_17_07_2007.sf). To achieve this I am calling a Shell Script in After Job Subroutine to FTP the file. But the problem is if by any reason ftp script fails my job has to abort, but this is not happening at this moment.
Please help me to force abort the job when shell script fails.
Thanks,
Satish
My requirement is to FTP few files with Current Date in file name (e.g.: File_Name_17_07_2007.sf). To achieve this I am calling a Shell Script in After Job Subroutine to FTP the file. But the problem is if by any reason ftp script fails my job has to abort, but this is not happening at this moment.
Please help me to force abort the job when shell script fails.
Thanks,
Satish