The TAPEDIR request reads library-maintenance style CD-ROM directories and prints the volume name, the unit number, the serial number, the creation date, the tape type, and a list of the disk file names that were copied to that volume. The TAPEDIR request is restricted to privileged users and users with the GSDIRECTORY granulated privilege. If the security option TAPECHECK is set to AUTOMATIC, a nonprivileged user with read access to the tape volume can also use the TAPEDIR request. TAPEDIR and TPDIR are synonyms.
<tapedir request>
┌◄────────────── , ─────────────┐ ──┬─ TAPEDIR ─┬─ : ─┬──────────┬─┴─┬─<unit number>─────────────┬─┴─────┤ └─ TPDIR ───┘ ├─ SPO ────┤ └─<volume name>─┬───────────┤ └─ SCREEN ─┘ ├─ (CDROM) ─┤ └─ (CD) ────┘
TAPEDIR Examples
The following command produces a FILEDATA report on the library maintenance tape MYTAPE:
RUN *SYSTEM/FILEDATA ("TAPEDIR: MYTAPE")
The following command produces a FILEDATA report on the tape mounted on unit number 15:
RUN *SYSTEM/FILEDATA ("TAPEDIR: 15")