HP-UX TN3270 Users Guide, March 1998

Table Of Contents
130 Chapter 5
Transferring Files
Preparing to Transfer Files
Preparing to Transfer Files
To transfer files between your HP-UX computer and a host computer, you
can use the menus and dialog boxes of the TN3270 emulation program,
or you can enter commands at the HP-UX command prompt.
You can transfer files in one 3270 session while conducting 3270
emulation in another session.
Setting Environment Variables
Before transferring files, ensure that the IND_FILE and LANG
environment variables are properly set.
When you transfer files between a host and your HP-UX computer, the
host runs a file transfer program. This is normally one of two programs:
IND$FILE for single-byte host languages, and APVUFILE for
double-byte host languages. The TN3270 emulation program makes the
choice between IND$FILE and APVUFILE automatically, based on the
setting of the LANG environment variable.
If you need to use a different host file transfer program (your System
Administrator or your TN3270 product supplier can tell you if this is the
case), you must set the IND_FILE environment variable to the correct
program name before running the emulation program.
Check that the LANG environment variable is set to the correct language
for the host system you are using. Refer to your operating system
documentation for the names of valid languages.
Setting Other Parameters
You may need to set the maximum structured field size (the size of the
file transfer data buffer) for the session you are using for the file transfer.
For more information, see “Customizing Display Sessions”.
For command-line file transfer, the session you are using must have a
session ID. For more information about session IDs, see “Customizing
Display Sessions”. You can specify the session ID as a command-line
parameter when starting the program; for more information, see
“Starting the TN3270 Emulation Program”.