0400,0410 0100,0110-011F

If devnums specifies more than one device then all devices will have identical characteristics. All devices
defined as a group must be defined on a single channel. A channel is defined as a continuous group of
256 (or hexadecimal 100) devices. For example devices 0010 and 0020 are on the same channel,
whereas devices 0100 and 0210 are not on the same channel.

The devnum itself is either a 1 to 4 digit hexadecimal number in the range 0000 to FFFF for ESA/390 or
0000 to 0FFF for S/370. The device number uniquely identifies each device to the operating system.

devtype is the device type.

argument(s) is a list of parameters depending on the device type. These parameters are explained in the
sections that describe each device type.

Examples:

0120 3380 mvsv5r.120

0230.16 3270 GROUP1 192.168.100.0 255.255.255.0

0583-0587 3420 * maxsizeM=170 eotmargin=131072

4.6 Sample Configuration File

The following figure shows a real example of a Hercules configuration file, used for running the MVS 3.8J
operating system. Please note, that not all possible parameter and definitions are contained in this
sample.

# **********************************************************************************************

# Hercules V4.00.0 Emulator Control file

# MVS V3.8J

# **********************************************************************************************

# ==============================================================================================

# System parameters

# ==============================================================================================

ARCHLVL S/370 # Initial architecture mode

CAPPING 25 # CPU capping (MIPS)

CNSLPORT 3270 # Telnet client port

CODEPAGE DEFAULT # Codepage conversion table

CPUMODEL 7060 # CPU model

CPUSERIAL 001963 # CPU serial number

DEFSYM DASDPATH D:/MVS/DASD # Define symbol for CCKD DASD device path

DEFSYM READERPATH D:/MVS/READER # Define symbol for READER device path

DEFSYM PRINTPATH D:/MVS/PRINTER # Define symbol for PRINTER device path

DEFSYM PUNCHPATH D:/MVS/PUNCH # Define symbol for PUNCH device path

DEVTMAX 0 # Maximum number of device threads

ENGINES CP # Processor engine types

HERCLOGO HERCLOGO.TXT # Hercules 3270 logo file

HTTP PORT 8089 NOAUTH # HTTP server port / authorization data

HTTP ROOT D:\Hercules\html # HTTP server root directory

HTTP START # Start the HTTP server

LOGOPT TIMESTAMP # Hercules log options

LPARNAME HERCULES # LPAR name returned by DIAG X'204'

MAINSIZE 16 # Main storage in MB

MANUFACTURER HRC # Manufacturer name returned by STSI

MAXCPU 1 # Maximum number of CPUs

MODEL 7060 # Model name returned by STSI

NUMCPU 1 # Number of emulated CPUs

OSTAILOR OS/390 # Intended operating system

PANRATE 1000 # Panel refresh rate [ms]

PANTITLE "Hercules Emulator HMC" # Hercules HMC window title

PGMPRDOS RESTRICTED # Emulation of IFL hardware

PLANT ZZ # Plant name returned by STSI

SYSEPOCH 1900 +28 # Base date for TOD clock

TIMERINT 50 # Internal timer update interval

TRACEOPT TRADITIONAL # Instruction trace display option

TZOFFSET +0000 # TOD clock offset from GMT

# ==============================================================================================

# Device Definitions

# ==============================================================================================

# ----------------------------------------------------------------------------------------------

# Card Readers

# ----------------------------------------------------------------------------------------------

000C 3505 $(READERPATH)/DUMMY.JCL eof ascii trunk

# ----------------------------------------------------------------------------------------------

# Card Punches

# ----------------------------------------------------------------------------------------------

000D 3525 $(PUNCHPATH)/PCH00D.TXT ascii crlf

# ----------------------------------------------------------------------------------------------

# Line Printers

# ----------------------------------------------------------------------------------------------

000E 1403 $(PRINTPATH)/PRT00E.TXT crlf

000F 1403 $(PRINTPATH)/PRT00F.TXT crlf

# ----------------------------------------------------------------------------------------------

# Local Non-SNA Terminals

# ----------------------------------------------------------------------------------------------

0010 3270 * 192.168.0.101

0011 3270 * 192.168.0.101

00C0 3270 * 192.168.0.101

00C1 3270 * 192.168.0.101

00C2 3270 * 192.168.0.101

Previous Page Next Page