Use the CLIENTERRCODES (FTP client) to specify whether FTP return codes are to be converted to client error codes.
.-CLIENTERRCODES FALSE---------. >>-+------------------------------+---------------------------->< '-CLIENTERRCODES--+-FALSE----+-' +-TRUE-----+ '-EXTENDED-'
CLIENTERRCODES EXTENDED ; request extended error codes
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.