HP-UX TN3270 Users Guide, March 1998

Table Of Contents
156 Chapter 5
Transferring Files
Transferring Files from the HP-UX Command Prompt
File Transfer Command Syntax
Most of the parameters you enter with the command are common to all
host environments, but some are specific to the host environment.
If you want information about the valid parameters and options for a
particular host type while attempting to start a command-line file
transfer process, type either tnsend or tnreceive followed by the host
type (TSO, VM or CICS) to generate help messages that explain the
syntax for the particular host type. Syntax errors in the file transfer
command (for example, not enough parameters supplied or incorrect
parentheses) also generate messages.
If your host file transfer program requires any other parameters or
options that are not described in the following sections, you can add them
to the file transfer command in the format expected by the host program;
the emulator will not attempt to interpret them, but will pass them
unchanged to the host program. Your System Administrator or host
support personnel can provide you with information about any
additional parameters required.
You must use a backslash (\) before characters such as parentheses and
quotation marks to prevent interpretation by the HP-UX shell. This may
also apply to some special characters in host file names (for example $).
The backslash is shown in the following syntaxes where it is required.
Syntax for MVS/TSO:
tnsend | tnreceive [-h 0xnn] HP-UXfilename [SESSIONID:] [\'] datasetname
[\(membername\)] [\'] [/password] [options...]
Syntax for VM/CMS:
tnsend | tnreceive [-h 0xnn] HP-UXfilename [SESSIONID:] hostfilename filetype
[filemode] [\(options...]
Syntax for CICS:
tnsend | tnreceive [-h 0xnn] HP-UXfilename [ SESSIONID:] hostfilename \(options...
[\)comments]
File Transfer Command Parameters
The Transfer command tnsend or tnreceive is required, and specifies
whether to send a file to the host or receive a file from the host. This
command must be in lowercase letters.
The following list describes the parameters that make up the transfer
command:
-h 0xnn