4.7.5 Examples

Example 1:

The DEFSYM configuration statement

DEFSYM TAPEDIR "/home/hercules/tapes"

and the symbol substitution in the device definition

0380 3420 $(TAPEDIR)/scratch.aws

results in the following device definition used by Hercules

0380 3420 /home/hercules/tapes/scratch.aws

Example 2:

The DEFSYM configuration statement

DEFSYM DASDPATH "D:/HERCULES/DASD"

and the following symbol substitution in the device configuration

0148 3350 $(DASDPATH:=D:/MVS/DASD)/MVSRES.CKD

results in the following device definition with resolved DASDPATH symbol

0148 3350 D:/HERCULES/DASD/MVSRES.CKD

If however there is no symbol DASDPATH (the DEFSYM statement is missing) then the symbol in the
device definition is resolved with the defined default

0148 3350 D:/MVS/DASD/MVSRES.CKD

Example 3:

The device definition using the predefined symbol "CUUU"

0148.5 3350 D:/MVS/DASD/VOLSER.$(CUUU)

results in the following device definitions used by Hercules

0148 3350 D:/MVS/DASD/VOLSER.0148

0149 3350 D:/MVS/DASD/VOLSER.0149

014A 3350 D:/MVS/DASD/VOLSER.014A

014B 3350 D:/MVS/DASD/VOLSER.014B

014C 3350 D:/MVS/DASD/VOLSER.014C

5. System Parameter Descriptions

5.1 # (Comment line)

5.1.1 Function

The hash (“#”) symbol marks the beginning of a comment or a full comment line.

5.1.2 Syntax

Descriptive

# [anything]

Diagram

Êʬ¬¬ # ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ



anything

5.1.3 Parameter

anything

Any text following the asterisk symbol.

5.1.4 Examples

Example 1:

Add comment lines to the configuration file and add comment after the system parameter.


System Parameters

NUMCPU 2 # Number of emulated CPUs

MAINSIZE 1024 # Main storage in MB

Previous Page Next Page