5.24 DEFSYM (Define a symbol)

5.24.1 Function

Defines symbol ‘symbol’ is to contain value ‘value’. The symbol can then be the object of a substitution
used later in the configuration file or for console commands. If value contains blanks or spaces it must be
enclosed within quotes or apostrophes. See chapter “Symbol Substitutions” for a more in-depth discus-
sion on this feature.

Substitution is available in configuration statements, meaning it is possible to perform substitution in the
DEFSYM statement itself. However, symbols are always defined as the last step in the process, so
attempting to self-define a symbol will result in an empty string.

5.24.2 Syntax

Descriptive

symbol

Diagram

symbol ¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

5.24.3 Parameter

symbol

The name of a symbol.

value

The value that is assigned to the symbol.

5.24.4 Examples

Example 1:

Define a symbol “TAPEDIR” with the value “/home/hercules/tapes”.

DEFSYM TAPEDIR "/home/hercules/tapes"

5.25 DEVPRIO (Device threads process priority)

5.25.1 Function

DEVPRIO specifies the priority of the device threads. See section

5.82 “Process and Thread Priorities” for
details.

Caution: DEVPRIO should not have a higher dispatching priority than the TOD clock and timer thread.

5.25.2 Syntax

Descriptive

nn

Diagram

¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




nn

5.25.3 Parameter

8

Specifies a device threads prority of 8. This is the default

nn

This value specifies the priority for the device threads. For details on the priority
values see section

5.82 (“Process and Thread Priorities”). The default is 8.

5.25.4 Examples

Example 1:

Set a priority of 10 for the device threads.

DEVPRIO 10

Previous Page Next Page