by Robert Sample » Thu Apr 30, 2015 6:16 pm
EXIT actually does two things:
1. it displays certain error codes that occur in FTP
2. It passes the FTP error code back to the system as the step condition code. One big caveat on this: since the step condition code is a value from 0 to 4095, what you will see as the step condition code is the FTP error code MOD 4096. So a 27550 FTP error code (27 means a PUT subcommand was issued; 550 means file unavailable or could not be written) becomes a 2974 step condition code.
EXIT actually does two things:
1. it displays certain error codes that occur in FTP
2. It passes the FTP error code back to the system as the step condition code. One big caveat on this: since the step condition code is a value from 0 to 4095, what you will see as the step condition code is the FTP error code MOD 4096. So a 27550 FTP error code (27 means a PUT subcommand was issued; 550 means file unavailable or could not be written) becomes a 2974 step condition code.