The ETC.SERVICES file contains the relationship between service
names (servers) and port numbers in the z/OS® UNIX environment. If necessary,
update your ETC.SERVICES file to include the control port that the
FTP server is to use. For the search order used to locate the ETC.SERVICES
file, see Configuration files for TCP/IP applications.
For example, add the following line:
ftp 21/tcp
Notes: - In the ETC.SERVICES file, only one port (the one for the control
connection) is listed.
- If the ETC.SERVICES file is changed such that a port other than
21 is specified, that port will become the FTP port for that z/OS host.
- The port specified for FTP in the ETC.SERVICES file can be overridden
by the FTP start parameter, PORT nnnn. In either
case, the port that is specified should match the port specified for
FTP on the PORT statement in PROFILE.TCPIP.