5.29.4 Examples

Example 1:

Specify 4 engines of type CP, 2 engines of type AP and 2 engines of type IP.

ENGINES CP,CP,CP,CP,AP,AP,IP,IP

or

ENGINES 4*CP,2*AP,2*IP

Example 2:

Specify 4 engines of type CP, 1 engine of type AP, 1 engine of type IP and 2 engines of type IL.

ENGINES CP,CP,CP,CP,AP,IP,IL,IL

or

ENGINES 4*CP,AP,IP,2*IL

Example 3:

Specify 3 engines of type CP and 1 engines of type IL.

ENGINES CP,CP,CP,IL

or

ENGINES 3*CP,IL

5.30 HAO (Hercules Automatic Operator)

5.30.1 Function

The Hercules Automatic operator (HAO) feature is a facility that allows to automatically issue console
commands in response to certain messages being issued. To use the HAO facility it is necessary to de-
fine a rule, consisting of a target and an associated command.

The Hercules Automatic Operator is only for those messages issued by Hercules to its console. It cannot
be used for messages issued from the guest operating system.

The current implementation limits the total number of defined rules to 64. There is currently no way to de-
fine a command whose arguments varies based on actual message text. All of the defined HAO rules are
checked for a match each time Hercules issues a message, there is no way at this time to stop the pro-
cessing of subsequent rules.

HAO supports several commands. However when HAO is used in the configuration file, not all of the pos-
sible HAO commands make sense. As an example, there is no reason to define a rule in the configuration
file and afterwards to delete it in one of the next statements. Therefore only those commands are listed
here, that are useful during Hercules startup. For a list of all possible HAO commands see the HAO panel
command.

5.30.2 Syntax

Descriptive

HAO command [operands]


where command

target

consolecmd

nn]

Diagram

Êʬ¬¬ HAO ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ


where command


target ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

consolecmd ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

Previous Page Next Page