5.51 MODPATH (Dynamic load module path)

5.51.1 Function

MODPATH specifies the path where dynamic load modules are loaded from. If a MODPATH statement is
coded then the path on the MODPATH statement is searched before the default path is searched. When
a relative path is specified it is interpreted as a relative path within the default search path. If an absolute
path is coded it is interpreted as such.

The default MODPATH is ‘hercules’ which means modules are loaded from the directory ‘hercules’ within
the default LD_LIBRARY_PATH.

5.51.2 Syntax

Descriptive

path

Diagram

path ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

5.51.3 Parameter

path

The path where dynamic load modules are loaded from.

5.51.4 Examples

Example 1:

Set the path from where dynamic load modules are loaded to “D:/HERCULES/MODIFICATIONS”.

MODPATH D:/HERCULES/MODIFICATIONS

5.52 MOUNTED_TAPE_REINIT (Control tape initialization)

5.52.1 Function

This system parameter specifies whether reinitialization of tape drive devices via the DEVINIT command
in order to mount a new tape should be allowed if there is already a tape mounted on the drive. This
option is meant as a safety mechanism to protect against accidentally unmounting a tape from the wrong
device as a result of a simple typing error and thereby eventually cancelling a potentially important tape
job. Please note that for SCSI tape drives the "DEVINIT nnnn *" command has no effect. The tape must
be unmounted manually since it is a real physical device and not emulated via a disk file like '.AWS' or
'.HET' tapes.

Specifying ALLOW, the default, indicates that new tapes may be mounted via "DEVINIT nnnn new-tape-
filename" irrespective of whether or not there is already a tape mounted on the drive.

Specifying DISALLOW prevents new tapes from being mounted if one is already mounted. Before the
new tape can be mounted the existing one has first to be unmounted (via the "DEVINIT nnnn *" com-
mand). Otherwise the DEVINIT attempt to mount the new tape is rejected.

5.52.2 Syntax

Descriptive

ALLOW

Diagram

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





¬
ALLOW ¬¬¬¬¬¬«






¬¬¬¬«







LLOW

5.52.3 Parameter

ENABLE

Indicates that new tapes may be mounted irrespective of whether or not there is
already a tape mounted on the drive. This is the default.

ALLOW

This is the same as ENABLE.

DISABLE

Prevents new tapes from being mounted if one is already mounted on the drive.
Before the new tape can be mounted the currently mounted tape must first to be
unmounted. Instead of DISABLE, the argument DISALLOW that has been used in
earlier versions of Hercules can also be used.

DISALLOW

This is the same as DISABLE.

Previous Page Next Page