HP-UX TN3270 Administration Guide

Configuring TN3270
Overview of the Configuration Process
Chapter 3 29
Overview of the Configuration Process
TN3270 uses a single configuration file to hold the following details of
your TN3270 configuration:
The host computers you can access
The TN3270 emulation functions available to individual TN3270
users
The files used to record TN3270 diagnostics information
You create this single binary configuration file by first defining a
configuration text file and then using the tncfgtcp program to convert
the text file to a binary file.
Creating a Configuration Text File
The configuration process begins with a simple text file that contains the
configuration information. A sample configuration text file,
tnsample.txt, is included with TN3270. The sample file is located in
subdirectory /opt/tn3270/samples. You can use any standard ASCII
text editor (for example, vi) to modify a copy of the sample file to include
the information you need or to create a new configuration file.
When you have created the configuration text file, name it
/opt/tn3270/samples/com.txt. For more information about the
configuration text file, see “Understanding the Configuration Text File
Records”.
Creating a Binary Configuration File
TN3270 uses the configuration text file as input to the tncfgtcp
program, which validates the configuration and generates a binary
configuration file for use by TN3270 components. Following is the syntax
of the tncfgtcp program:
tncfgtcp
filename
.txt
The name of the text file to be converted to binary is
filename
.txt. This
file name must have the extension .txt. Include the directory path if the
file is not in the current directory.
If the tncfgtcp program detects an error, such as an invalid file name or