¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«



nn

5.30.3 Parameter

TGT

This is the keyword to define a new rule (pattern).

target

Specifies the rule (pattern) to react on. The target is a regular expression pattern
which is matched against the text of the messages that Hercules issues.

CMD

This is the keyword to specify a command for a previously defined rule.

consolecmd

Specifies the command to be executed if a target rule matches. The associated
command must be a valid Hercules console command.

LIST

List all rules/commands or list only rule/command at index nn.

nn

Number of the index to be listed or deleted.

5.30.4 Examples

Example 1:

Define the following target rule and the related command to be issued:

Check for message HHC01600E ("Unknown Hercules command") and issue "?" command (List all valid
commands).

HAO TGT HHC01600E

HAO CMD HELP

5.31 HERCLOGO (Hercules logo file)

5.31.1 Function

HERCLOGO specifies the logo text file which defines a welcome screen that is presented when a
TN3270 terminal connects to a Hercules 3270 device. For details on how to code the Hercules logo file,
see section

10 (“Hercules 3270 Logo”).

5.31.2 Syntax

Descriptive

filename

Diagram

filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

5.31.3 Parameter

filename

The name (and optionally path) of a logo text file. If no path is specified the logo file
is first searched in the current working directory and second in the directory where
the Hercules executable resides.

5.31.4 Examples

Example 1:

Use the logo text file “HERCLOGO.txt” for the welcome screen.

HERCLOGO D:\HERCULES\CONF\HERCLOGO.TXT

Previous Page Next Page