z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Changing local site defaults using FTP.DATA

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

The default values for the local site parameters are hardcoded in the FTP client module. You can change these default values by creating an FTP.DATA configuration data set.

Note: Unless otherwise indicated, FTP.DATA data set refers to both the /etc/ftp.data z/OS® UNIX file and the MVS™ data set FTP.DATA.
The FTP.DATA configuration data set is optional. If you specify the -f parameter on the FTP invocation, that parameter is used; otherwise, the FTP client uses one of the search orders shown in Table 1 to obtain the local site parameter values.
Table 1. FTP client search orders
TSO shell z/OS UNIX shell
  1. SYSFTPD DD statement
  2. tso_prefix.FTP.DATA
  3. userid.FTP.DATA
  4. /etc/ftp.data
  5. SYS1.TCPPARMS(FTPDATA) data set
  6. tcpip_hlq.FTP.DATA file
  1. $HOME/ftp.data
  2. userid.FTP.DATA
  3. /etc/ftp.data
  4. SYS1.TCPPARMS(FTPDATA) data set
  5. tcpip_hlq.FTP.DATA file

See z/OS Communications Server: IP Programmer's Guide and Reference for a description of the FTP.DATA search order used when FTP is started from the FTP Client API.

The z/OS Communications Server: IP Configuration Reference describes the statements you can code in the FTP.DATA data set. It is not necessary to include all statements in the FTP.DATA data set; only those statements whose default values are to be changed must be included. The hard-coded default is used for any statement that is not included in the FTP.DATA data set.

You can find a sample FTP.DATA file in the SEZAINST (FTCDATA) data set.

You can change several of the FTP local site parameters during the FTP session by using the LOCSITE subcommand. See LOCSIte subcommand—Specify site information to the local host for more information about using the LOCSITE subcommand to change the local site parameters.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).