View previous topic :: View next topic
|
Author |
Message |
Gurumanoj Gurusamy
New User
Joined: 11 Nov 2010 Posts: 22 Location: Mumbai
|
|
|
|
Hi All,
We have Tivoli work scheduler and one of the AD in it has set of jobs to transfer the file using ftp step.
Sometimes file are not transferred properly because of connection issue. Even though file not transfers properly its respective jobs are getting complete.
I need to put the job in error incase of any ftp failure. Could you please let me know how I can achieve it.
Thanks |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
why isn't the job returning a non zer0 return code if the FTP is unsuccessful ?
What is the PARM information you have coded in the job ?
Gerry |
|
Back to top |
|
|
Gurumanoj Gurusamy
New User
Joined: 11 Nov 2010 Posts: 22 Location: Mumbai
|
|
|
|
Hi,
Please find the PARM details below,
//SFTPRUN1 EXEC PGM=FTP,PARM='10.27.236.99'
Thanks |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
if you code this
Code: |
PARM='10.27.236.99 (EXIT=8'
|
it will return a rc of 08 if it fails.
Gerry |
|
Back to top |
|
|
|