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.