CLIENTERRCODES (FTP client) statement

Use the CLIENTERRCODES (FTP client) to specify whether FTP return codes are to be converted to client error codes.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-CLIENTERRCODES FALSE---------.   
>>-+------------------------------+----------------------------><
   '-CLIENTERRCODES--+-FALSE----+-'   
                     +-TRUE-----+     
                     '-EXTENDED-'     

Parameters

FALSE
Issue standard FTP return codes. See the FTP return codes topic in z/OS Communications Server: IP User's Guide and Commands for a complete description of standard FTP return codes.
TRUE
Convert FTP return codes into a set of codes defined in FTP client error codes in the z/OS Communications Server: IP User's Guide and Commands.
EXTENDED
Convert FTP return codes into the client error code (as would be returned for TRUE) concatenated with the subcommand number. See the FTP client error codes extended topic of the z/OS Communications Server: IP User's Guide and Commands for more information.

Examples

CLIENTERRCODES  EXTENDED ; request extended error codes

Usage notes

When the FTP client is invoked from the FTP client application programming Interface (API), the value on the CLIENTERRCODES statement does not affect the operation of the client, as all return codes including client error codes are returned to the application.

Related topics