EM3270 Manual
EM3270 Emulator Command Set
Tandem EM3270 Manual—110332 4-25
SET Command
process is created in the backup CPU specified. If the primary CPU subsequently 
becomes available, a backup EM3270 emulator process is started in it.
Messages: 1001, 1007, and 1008.
DATAPAGES number
specifies the method of space allocation used for the disk file that backs up the 
extended data segment used by EM3270. number is an integer from 0 to 2046 
indicating the number of 2048-byte pages to allocate. If zero is specified, data pages 
are allocated dynamically as needed. If a non-zero value is specified, a file of the 
specified size is allocated at startup. This prevents a subsystem failure due to 
insufficient disk space which might occur after the subsystem had been running for a 
period of time.  The STATS command can be used to determine the current size of 
the EM3270 buffer pools.  Note that the values displayed are in words and must be 
divided by 1024 to yield the number of pages. The default for DATAPAGES is 0.
Messages: 1001, 1004, and 1029
LIBRARY file-name
specifies a library code file to be used to resolve external procedure references.
Messages: 1008, 1014, and 1039.
LIKE process-name
specifies that the PROCESS parameters are to be initialized to match those of the 
currently active process designated by process-name.  See also the LIKE parameter 
for devices. You must specify a value for process-name.
Messages: 1004, 1008, 1015, and 1016.
LOG1 | LOG2 file-name
specifies the EM3270 emulator log file or device where each log is to reside (there is 
no default value). If you do not specify a value for either LOG1 or LOG2, the 
EM3270 emulator process does not produce a log. LOG1 generates tokenized EMS 
format messages suitable for a collector such as $0. LOG2 generates text format 
messages suitable for a disk file, a printer, or the spooler.  If the log is to reside in a 
disk file, the file must exist before you run EMCOM. Because the EM3270 
emulator process writes variable-length records, it is recommended that you define 
log files as entry-sequenced ENSCRIBE files. The maximum record length is 132 
characters. You can specify LOG1, LOG2, or both.
Messages: 1014 and 1039.
LOGOPENS { ON | OFF }
indicates whether opens are to be logged. When LOGOPENS is set to ON, each 
host open event is reported in the EM3270 emulator log file(s). This occurs 
whenever a terminal user starts a session with a host application.  (Message number 
5, ZEM3-EVT-HOST-OPENED, is issued for each open.) LOGOPENS is useful for 
security purposes. The LOGOPENS specification applies to all terminals controlled 










