TP.MNT - force a new tape to be mounted.

Usage:

B:
   tp.mnt( unit, volume )
C:
   #equate tp_mnt tp.mnt
   void tp_mnt(FILE *unit, int volume);

Where:

unit
is the number of an I/O unit that has a tape open for reading.
volume
is a BCD word, with the volume number of the new tape in the upper 30 bits (5 BCD characters).

Description:

TP.MNT is used when processing a sequence of related input tapes. It asks the operator to mount a new tape to replace the one currently mounted. If an alternate tape drive is assigned to the associated file code, a swap to the other drive will also be made. Once TP.MNT has returned, further reads from "unit" will be from the new tape.

Notes:

TP.MNT is not used to get the continuation reel of a labelled multi-volume set since the B library does this automatically.

GCOS gives the operator the option of aborting the job.

Copyright © 1996, Thinkage Ltd.