SFTP return codes
SFTP return codes
Is there a way to override or some other way to use different return codes for the SFTP process? Specifically, RC=1 is causing us an issue because that is setup as a valid return code in some of our scheduled jobs.
Re: SFTP return codes
See this: http://dovetail.com/forum/viewtopic.php?f=6&t=1250
If you are using the sample batch PROC (SFTPPROC) and sample batch scripts, which I recommend, you can customize the sample sftp_connect.sh script by adding lines like the above example to the end, and changing any other "exits" to set your chosen return codes.
If you are using the sample batch PROC (SFTPPROC) and sample batch scripts, which I recommend, you can customize the sample sftp_connect.sh script by adding lines like the above example to the end, and changing any other "exits" to set your chosen return codes.
Re: SFTP return codes
Thanks. Most of our stuff was modeled after the RUNSFTP sample, but I was able to add the script code after the EOB in the JCL and it worked fine.