HP-UX TN3270 Users Guide, March 1998

Table Of Contents
224 Chapter 7
Solving Problems
Cannot Run 3270 Emulation in Background
Cannot Run 3270 Emulation in
Background
You may get the following message when trying to start the TN3270
emulation program in the background using the -b option:
Cannot run 3270 emulation in the background
This message indicates that you do not have any sessions that can be
used in the background. For a session to be activated when running in
the background, it must be marked as “enabled at initialization” in the
style file you are using (either a style file you specified on the command
line or the default style file specified in the configuration file). In
addition, if it is a display session, it must have a session ID assigned (you
cannot access it when running in the background if it does not have a
session ID). The session ID can be assigned in the style file, or you can
specify it using the -h option when starting the TN3270 emulation
program.
Use the following procedure to solve this problem:
Step 1. Start the TN3270 emulation program without the -b option to run it in
the foreground.
Step 2. Load the style file.
Step 3. Ensure that at least one session is active at initialization. You can also
assign a session ID at the same time (if it is a display session).
Step 4. Save the new style.
Step 5. Exit the program.
Step 6. Restart the program in the background, using the new style file, and
optionally using the -h option to assign one or more session IDs.
For more information about the “enabled at initialization” option and
about session IDs, see “Customizing Display Sessions” and “Customizing
Printer Sessions”.