EM3270 Manual

Adding Terminals
3-10 110332—Tandem EM3270 Manual
Basic and Advanced Sessions With EM3270
with PATHCOM (Pathway command interpreter) commands. To your existing
installation’s customary PATHCOM commands, add the following:
SET TCP TERMBUF 4000
SET TERM FILE $EM1.#ATP.T1
SET TERM DISPLAY PAGES 7
The first command sets the TCP terminal buffer to the maximum value that is
compatible with the EM3270 emulator. The parameter of the second command consists
of the EM3270 emulator process name and the subdevice name used in the ADD
DEVICE command of EMCOM.
The SET TERM DISPLAY PAGES is used only with a Tandem terminal and restricts
Pathway to use seven of the eight pages available. The eighth page is reserved for the
host session.
Adding Terminals
To add a terminal to the EM3270 emulator, use the SET DEVICE command to define
the host and other parameters for the terminal and an ADD DEVICE command to
include it. Then issue a START DEVICE command to start the terminal. The emulator
will now have an additional terminal session with parameters, as defined with the SET
DEVICE command.
Printer Session
Configuring a printer session is very similar to configuring a session with a terminal,
except that you define a printer as the device. You can add a printer session to an
EM3270 emulator that has one or more terminal sessions already defined. For example,
to add a printer session to this example system, define the printer as follows:
}ASSUME DEVICE ! Only if the default keyword is PROCESS
}SET HOST $TR.#P2 ! Printer access to IBM application
}SET DEVTYPE PRINTER ! Device is a printer
}SET TIMEOUT 1800 ! One-half-hour timeout for printer
}ADD $S.#LP ! Access to printer through the spooler
You can include a comment with any TAL command by preceding the comment with a
exclamation point (!).
In response to the ADD command, the emulator displays the following:
STATUS *1035* TERMINAL ADDED
The printer, $S.#LP, is available to the IBM application through the spooler. The
TIMEOUT parameter (1800 seconds, or 30 minutes) tells the emulator to terminate a
print file when 30 minutes have passed without receiving an additional record from the
application program. The spooler then prints the file.
When a printer can be dedicated to an emulator session, it can be defined for direct
access. That is, if no other application will attempt to access the printer during the
emulator session, it is not necessary to use the spooler to access the printer.