cules's device emulation logic to ignore any ‘Erase Gap’ commands issued to the
drive and to return immediate success instead.

This option should only be used (specified) for drives such as the Quantum which
support switching from read mode to write mode in the middle of a data stream
without the need of an intervening ‘Erase Gap’ command. Specifying it for any
other model SCSI drive may cause incorrect functioning as a result of the Erase
Gap command not being issued to the actual SCSI hardware.

Check the manufacturer information for your particular model of SCSI-attached
tape drive (and/or use Fish's "ftape" Windows utility) to determine whether or not
this option is needed for your particular drive.

--blkid-32

This option indicates that your SCSI-attached tape drive only supports 32-bit block-
ids (as used by 3590 drives) and not the 22-bit format used by 3480/3490 drives.
You should only specify this option if you intend to define the drive as a model 3480
or 3490 device and then only if your actual SCSI drive uses 32-bit block-ids. If you
define your Hercules tape drive as a model 3590 device however this option is not
required as 3590 drives are already presumed to use 32-bit block-ids.

Specifying this option on a 3480/3490 device statement will cause Hercules device
emulation logic to automatically translate the actual SCSI tape drive's 32-bit block-
id into 22-bit format before returning it back to the guest operating system (since
that is the format it expects it to be in for a model 3480/3490 drive), and to translate
the guest's 22-bit format block-id into 32-bit format before sending it to the actual
SCSI hardware (since that is the format that the actual hardware requires it to be
in).

--blkid-22

This is the opposite of the above --blkid-32 option.

6.8.1.4 Examples

Example 1:

Define a 3420 tape device on device address 0580. The tape device is a SCSI-attached tape drive which
only supports 32-bit block-ids.

0580 3420 /dev/nst0 --blkid-32

Example 2:

Define a 3490 tape device on device address 0581. The tape device is a SCSI-attached tape drive which
supports 22-bit block-ids. Ignore any ‘Erase Gap’ commands.

0581 3490 \\.\Tape0 --no-erg --blkid-22

6.8.2 Optical Media Attach (OMA) virtual files

6.8.2.1 Function

OMA device statements are used to define Optical Media Attach (OMA) virtual files to the Hercules
configuration. OMA virtual files are read-only files which normally reside on CDROM. OMA virtual tapes
consist of one CDROM file corresponding to each physical file of the emulated tape. An ASCII text file
called the “Tape Descriptor File” (TDF) specifies the names of the files which make up the virtual tape.
The argument specifies the name of the tape descriptor file.

Each file on the virtual tape can be in one of the following three formats:

TEXT

TEXT files consist of variable length ASCII records delimited by carriage return line
feed (CRLF) sequences at the end of each record. Each record is translated to
EBCDIC and presented to the program as one physical tape block.

FIXED nnnnn

FIXED files consist of fixed length EBCDIC blocks of the specified length (nnnnn).

HEADERS

HEADERS files consist of variable length EBCDIC blocks. Each block is preceded
by a 12-byte header.

If you have any IBM manuals in BookManager format on CDROM, you can see some examples of TDF
files in the “\TAPES” directory on the CDROM.

6.8.2.2 Syntax

Descriptive

tdf

Diagram

Êʬ¬¬ ¬¬¬ ¬¬¬ tdf ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

6.8.2.3 Parameter

devaddr

This is the device address.

devtype

This is the device type Valid device types are 3410, 3420, 3422, 3430, 3480, 3490,
8809 and 9347.

tdf

The filename (and path) of the tape descriptor file.

Previous Page Next Page