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


SENDSite subcommand—Toggle the sending of site information

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

Purpose

Use the SENDSite subcommand to toggle the automatic sending of the SITE commands when sending a data set to a foreign host.

Format

Read syntax diagramSkip visual syntax diagram
>>-SENDSite----------------------------------------------------><

Parameters

There are no parameters for this subcommand.

Usage

  • By default, the SENDSite subcommand is turned on when you start an FTP session. Each time you use the SENDSite subcommand, it is turned alternately on and off.

    When turned on, FTP sends a SITE command that contains record format information for the file or data set when you issue the PUt or MPut subcommand.

  • SENDSite is useful when you want to PUt a file to the remote host and have the file created with the same characteristics as defined at the local host.
  • If you are using either an SMS data class or a model DCB at your MVS™ server to provide the logical record length or record format, you must toggle the SENDSite setting off at the client. Otherwise, the SIte information that is sent automatically by the client overrides the values provided by the SMS dataclass or model DCB.
  • To determine if the sending of site information is enabled or disabled on your local host, use the LOCSTat subcommand.
  • The sendsite setting is always ignored if you issue a mkdir subcommand with the (like parameter. The client must send a SITE command to the server to set the server's site variables before allocating the directory.

Context

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 ).