Example 2:

Set the size of the expanded storage to 256 MB. Do not lock the memory into the storage.

DEFSTORE XSTORE 256

or

DEFSTORE XSTORE 256M

or

DEFSTORE XSTORE 256 UNLOCK

or

DEFSTORE XSTORE 256M UNLOCK

Example 3:

Set the the main storage to 2 GB, the expanded storage to 512 MB and lock the memory into the storage.

DEFSTORE MAIN 2048 LOCK XSTORE 512 LOCK

or

DEFSTORE MAIN 2048M LOCK XSTORE 512M LOCK

or

DEFSTORE MAIN 2G LOCK XSTORE 512M LOCK

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"

Previous Page Next Page