Copying from a CD-ROM Volume Mounted on a CD Unit
- In the usual way, LIBRARY/MAINTENANCE can copy files from
a LIBRARY/MAINTENANCE CD mounted on a CD unit, by setting
the <source volume> KIND to CD in the COPY
statement.
- However, LIBRARY/MAINTENANCE does not copy files from
other file systems which may reside on a hybrid
LIBRARY/MAINTENANCE CD volume, nor does it copy files
from an ISO9660 Data CD mounted on a CD unit. The
A-Series does not recognize the JOLIET file system.
- The file systems supported by COPYWRITE are given names,
so that they can be selected as the target file system
for a COPY.
- The names of the file systems supported by COPYWRITE are
LMCD, JOLIET and ISO9660.
- LMCD refers to the underlying modified ISO9660 format
used by LIBRARY/MAINTENANCE. The first file on an LMCD
volume is called *FILE000, and contains the Tape
Directory. Each subsequent file is called *FILExxxxx,
starting with FILE00001, and each file contains
LIBRARY/MAINTENANCE blocks, preceded by a 2 byte length
field, and followed by a 6 byte A-Series CheckSum. These
files can be copied if the file system is specified as LMCD.
- COPYWRITE preserves the A-Series convention in which a
file called *USERCODE/<username>/... refers to an
A-Series file called (<username>)... The top level
of a JOLIET or ISO9660 volume is by convention the
equivalent of the * directory on the A-Series. When
COPYWRITE copies usercoded files to an ISO9660 Data
CD-ROM archive volume, it copies them as
*USERCODE/<username>/...
- The target file system is selected by setting the
SCRATCHPOOL attribute of the <source volume> to one
of LMCD, JOLIET or ISO9660.
- If the <source volume> of a COPY is CD, and the
SCRATCHPOOL attribute is not set, then the
LIBRARY/MAINTENANCE file system is assumed, and
LIBRARY/MAINTENANCE is called to copy the files.
- The most important factor to consider when copying a file
from an ISO9660 or JOLIET file system, is what attributes
should the file have applied when it is copied to the
A-Series ? COPYWRITE provides the means to copy these
files with a FILESTRUCTURE of STREAM or ALIGNED180, as
FRAME stream files or RECORD stream files, to coerce them
to a FILEKIND. These features are the same whether the
file is being copied from a CD unit or an archive volume.
See Example 21 through Example 25.