FTP client error logging
- Specify the EXIT or EXIT=nn parameter on the FTP command
- Code the CLIENTEXIT TRUE statement in the FTP.DATA file
The client error logging feature is enabled by specifying LOGCLIENTERR TRUE in the FTP.DATA data set used by the client.
- Specify the EXIT or EXIT=nn parameter on the FTP command
- Code the CLIENTEXIT TRUE statement in the FTP.DATA file
See FTP subcommand codes for a list of FTP subcommand codes and their EXIT_IF_ERROR settings.
- The address space name.
- The FTP subcommand code.
- The last reply code from the server (or 000 if none).
- Information about whether EXIT was specified when the client was started or the CLIENTEXIT TRUE statement was specified in the FTP.DATA file.
- The type of computed return code.
- The computed return code value based on the start parameters and configuration settings. It might not match the actual return code observed from the client.
Because EZZ9830I is written to the system log when the FTP client is running as a batch job, the message can be used to drive automation. The computed return code displayed in the message might be the EXIT=nn value, a standard return code, a client error code, or a client error code extended.
The standard return code can be derived from the FTP subcommand code and last reply from the server displayed in the message text. See z/OS Communications Server: IP Messages Volume 4 (EZZ, SNM) for the complete message format of EZZ9830I and an explanation of the computed return code value and the other fields in the message.