Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
FTP return codes z/OS Communications Server: IP User's Guide and Commands SC27-3662-00 |
|
By default, the FTP client ignores any errors that occur during
a session and exits with a return code of zero. You
can direct FTP to exit on error with a nonzero return code by using
one of the following methods:
When FTP is started from the FTP Callable Application Programming Interface, all elements that compose the values described below are returned to the application. These include the client error code, the server reply code, and the FTP subcommand code. The CLIENTERRCODES setting in the FTP.DATA file has no effect on the FTP Callable API. See the z/OS Communications Server: IP Programmer's Guide and Reference for detailed information about using the FTP Callable API. The FTP client issues message EZA1735I to display the standard return code and the client error code when FTP is configured to exit on error, and an error occurs. The standard return code is described in FTP standard return codes; the client error code is described in FTP client error codes. All possible computed return codes (excluding EXIT=nn) can be derived from the information found in the message. EZA1735I is issued regardless of the type of return code or whether client error logging is in use. See FTP client error logging for more information about logging client errors. When a critical error occurs before the client can establish its environment, FTP client initialization can exit with a return code set to client error code regardless of the type of return code requested or the EXIT=nn value. Each subcommand has an EXIT_IF_ERROR flag. If you configure
FTP to exit on error, the EXIT_IF_ERROR flag determines whether the
FTP client exits when an error occurs. You can configure FTP to exit
on error by using one of the following methods:
See FTP subcommand codes for a list of the FTP subcommand codes and their EXIT_IF_ERROR settings. You can use the following methods to compute return
codes.
|
Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).
|