4.4 Coding Rules
There are only a few rules for creating configuration files. The file must be an ASCII text file. Blank lines,
or lines beginning with a hash (“#”) sign or an asterisk (“*”), are treated as comments and are not
checked.
The system parameters may appear in any order but must precede all device definitions. Each system
parameter must be specified on a separate line.
The device records may also appear in any order but must follow the system parameters. There must be
one device definition for each I/O device or for each group of identical I/O devices.
4.5 Record Format
The following sections describe the format of the Hercules configuration file records. The format is slightly
different between system parameters and device definitions.
4.5.1 Format of the system parameters
The record format of the system parameters is as follows:
system-parameter argument
where:
system-parameter is the name of the system parameter.
argument is the value assigned to the system parameter.
Examples:
CPUMODEL 3090
ENGINES 4*CP,2*AP,2*IP,2*IL
HTTP ROOT /usr/local/share/hercules/
PANRATE FAST
4.5.2 Format of the device definitions
The format of device definition is as follows:
devnum(s) devtype [argument(s)]
where:
devnum(s) is either: a single devnum (see details below), a range of devnums separated by a dash (“-“),
a count of devnums seperated by a dot (“.”), or a comma (“,”) separated list of devnums.
Examples include: