Customizing Your Configuration—Chapter 5
195TE 2000
5250 Terminal Emulation Programmer’s Guide
You can set the Value field of any configuration parameter to “?”, which
indicates that the TE configuration program should prompt the user for
the appropriate value. For example, this parameter causes the terminal to
prompt the user to select a screen mode f r om the list of values. Following
is a sample setup f ile.
Screen Mode = ?;
Program Name = MYCUSTOM;
Screen Mode = Page Mode;
Host A.Port Number = 1;
Data Stream = 5250;
Code 39.Encoded = Enabled;
Extended Cmds = Enabled;
CONFIG.DAT Parameter Formats
You can direct the complete parameter list with value definitions to a file
using this command:
CHECKCFG –P CFGLIT.DAT > parms.txt
Each parameter in the setup file is followed by one of three different for-
mats that indicates the type of parameter and the values it can contain.
S Literal strings. List of fixed values to choose from. Session 1 or 2 may
qualify Screen Mode. It may take the value Center Cursor, Corner
Mode, Page Mode, Lazy Mode, or Locked Mode. Session 1 is the de-
fault qu alifier. These configuration lines are valid:
Screen Mode = Lazy Mode;
Session 1.Screen Mode = Lazy Mode;
Session 2.Screen Mode = Lazy Mode;
S Numeric p arameters. Numeric parameters have minimum and maxi-
mum values. Parameters can be either decimal or hexadecimal:
S Decimal parameters consist of digits 0 through 9.
S Hexadecimal parameters consist of 0x or 0X, followed by 1 to 4 digits
of 0 through 9, a through f, or A through F. These are equivalent:
160, 0xA0, and 0Xa0.
Port Number is a variable with a minimum value of 0 and a maximum
of 65535. These lines are valid:
Port Number = 1;
Session 1.Host A.Port Number = 1;
Session 2.Host A.Port Number = 1;
S String parameters. String parameters are variables with minimum and
maximum lengths.
Program Name is unqualified. It must have eight characters. These con-
figuration lines are valid:
Program Name = ABCDEFGH;
Program Name = FWP248H0;