EM3270 Manual

Preliminary Activities
3-2 110332Tandem EM3270 Manual
Basic and Advanced Sessions With EM3270
Preliminary Activities
Before you run EMCOM to initialize the EM3270 emulator, and when using TR3271,
SNAX/CDF, SNAX/APN, or SNAX/XF, you need to configure and start the subdevices
for the access method using SCF. Refer to the SCF Reference Manual for SNAX/XF and
the SNAX/CDF Configuration and Control Manual for details.
Another optional step includes defining a log file to store text-format messages
generated during the session. Use the File Utility Program (FUP) to create this log file
as an entry-sequenced file with a record length of 132 characters. Use the following
command to create the file:
FUP CREATE $USER.SUBFILE.EMLOG2, TYPE E, REC 132, EXT(10,20)
Specify the name of this file in a SET LOG2 command when you configure the emulator
since LOG2 generates text-format messages. LOG1 generates EMS format messages
that are suitable for directing to an EMS collector, such as $0. Use a SET LOG1 $0 to
enable this type of message.
The emulator supports two log files; the same messages are written to both files.
Specifying a terminal screen or a printer for a second log file gives you two records of
the session. One file is machine-readable. The other file is available for your review.
Communicating With EMCOM
To communicate with the emulator program, the Tandem, IBM, or Fujitsu terminal must
have the NonStop Kernel command interpreter (TACL) running. In most applications,
only the central operator’s terminal has TACL running and, consequently, performs the
necessary terminal and process configuration needed to bring up the emulator. However,
any terminal with TACL running can communicate with EMCOM (the emulator’s
command interpreter) to configure and run an emulation process.
You invoke the EMCOM interpreter from TACL using the EMCOM command. You can
invoke the emulator interpreter in either interactive or noninteractive mode, depending
on whether IN/OUT files are specified (if no files are specified, the session is
interactive).
Once the EMCOM interpreter is active, you configure the session, start up the emulator,
and bring up the application; how to do this is described in greater detail later in this
section.
Configuration Commands
EMCOM provides many commands for configuring the emulator and the devices
(terminals and printers) used with it. Using any of these commands with the keyword
PROCESS limits the command to functions that apply to the emulator. The keyword
DEVICE limits the command to functions that apply to a terminal or printer. So that
you do not have to type a keyword with each command, these keywords are optional; a
default value applies when you omit the keyword. When you start to use EMCOM, the
default value for the keyword is DEVICE. You can change it to PROCESS (or back to
DEVICE) with the ASSUME command.