IBM Support

How do I enable z/OS FTP client exits?

Question & Answer


Question

How do I enable z/OS FTP client exits?

Answer

Beginning in z/OS V2R1, the z/OS FTP client supports user exits. The FTP client invokes z/OS Dynamic Exit Services (DES) to determine whether you have installed FTP client user exit EZAFCCMD or EZAFCREP:

  • The EZAFCCMD user exit is called by the FTP client before an FTP command is sent to the FTP server. This exit can inspect an FTP command, modify the arguments of an FTP command, reject an FTP command, or end the FTP client before the command is sent to the server.

  • The EZAFCREP user exit is called when the FTP client receives a single-line reply or one line of a multiple line reply over the control connection that is sent from the server. A user exit routine that you write for EZAFCREP can inspect the FTP server reply, or end the FTP client after the FTP client receives a certain line of the reply sent from the server.

To invoke DES successfully, the program FTP must be APF authorized. Therefore, if you want to use the z/OS FTP client user exits, you must add FTP to the AUTHCMD and AUTHPGM NAMES section of your IKJTSOxx member of SYS1.PARMLIB.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

ZOSCS COMMSERVER

Document Information

Modified date:
03 May 2015

UID

dwa1189390