The EZAFCREP user exit (for the FTP client)

The EZAFCREP user exit is called when the FTP client receives a single-line reply or one line of a multiple-line reply from the server over the control connection. The following information is passed to the user exit:

Use the EZAFCREP user exit to inspect the FTP server reply or to end the FTP client after the FTP client receives a particular line of the reply from the server. If the user exit ends the FTP client, one or both of the following messages are displayed to the user. Message EZA1556I is optional and is displayed only when the user exit returns text in the 71-byte buffer.

EZA1556I EZAFCREP message: message text provided by user exit routine
EZA1546I User exit EZAFCREP  module modname ended the FTP client - exit reason code
x'hexadecimal-rsncode' (decimal-rsncode)
Restrictions:

For more information about the EZAFCREP user exit, see z/OS Communications Server: IP Configuration Reference.