Configuring the FTPD cataloged procedure

The FTPD catalogued procedure is sample JCL that you can use to start the FTP server. To use the sample, you must modify it to suit your needs.

Before you begin

You must configure TCP/IP and your security product. You will modify the configuration of your security product for use with your FTP server.

Procedure

Perform the following steps to configure the FTPD catalogued procedure:

  1. Copy the sample in SEZAINST(FTPD) to your system or recognized PROCLIB.
  2. Update the SYSFTPD DD and SYSTCPD statements. See Configuring FTP.DATA to configure SYSFTPD DD and Configuring TCPIP.DATA for FTP to configure SYSTCPD DD.
  3. Decide whether you will pass start parameters in the FTPD catalogued procedure.
    • If you are not going to pass start parameters, add your parameters to the FTP.DATA file.
    • If you are going to pass start parameters, add your parameters to the PARMS parameter in the PROC statement of the FTPD cataloged procedure.

      Any parameters that you modify in the PROC statement override parameters that are set in the FTP.DATA file.

      The system parameters required by the FTP server are passed by the PARM parameter on the EXEC statement of the FTPD cataloged procedure. For example, the entry //FTPD PROC MODULE='FTPD',PARMS='TRACE ANONYMOUS PORT 21' starts FTP with tracing active, anonymous support enabled, and using control port 21.

    For more information about the FTP server cataloged procedure (FTPD) parameters, see z/OS Communications Server: IP Configuration Reference.

  4. Define the FTPD catalogued procedure to the security program. Add the FTPD catalogued procedure to the RACF® STARTED class facility or to the started procedures table.

    The user ID that is associated with the FTP server STARTED class must have UID 0. If the FACILITY class is active and the BPX.DAEMON or BPX.POE profiles are defined, the user ID that is associated with the FTP server must have READ access to them.

  5. (Optional) If the daemon address space will be configured to run as nonswappable, provide at least READ access to the FACILITY class resource BPX.STOR.SWAP.
  6. Set up security for the FTP server. See Security for the FTP server for information about setting up security.
  7. (Optional) Define environment variables. See Defining environment variables for the FTP server (optional) for information about defining environment variables for the FTP server.

Results

When you are done, you should be able to start the FTPD catalogued procedure with no errors. If you receive errors, then ensure that you have completed all the steps correctly.

See SEZAINST(EZARACF) for more information about SAF resource requirements needed for FTP.

Restriction: The Language Environment® runtime option NATLANG(JPN) is not supported. If you specified NATLANG(JPN) as a Language Environment runtime option, then you need to specify PARM='NATLANG(ENU)' in the FTPD cataloged procedure to override the runtime option for FTP.