Previous Topic: Initialize and Report on Tape Volume LabelsNext Topic: Process Header Label Information with TMSTPPRO


Initialize Tape Volumes with TMSTPNIT

TMSTPNIT initializes SL, NL, and AL tapes. TMSTPNIT checks the status of the TMC record for the volume serial number to ensure that it is in scratch or inactive status. Optional information for the OWNER and ACCESS fields of the header label can also be specified.

Existing labels on a cartridge are verified to help that ensure the volume is in the proper status before the cartridge is initialized.

The TMSTPNIT program is driven by control statements. The four categories of control statements are:

NEWTAPE

The volser is under CA 1 control and is being replaced with a new cartridge or reel. The Volume record in the TMC must be in scratch status. TMSTPNIT updates the BTHDATE (birth date) field to the date of initialization and set all eight read/write error count fields to zero.

OLDTAPE

The volser is under CA 1 control and needs to be reinitialized. The Volume record in the TMC must be in scratch status. The four fields containing read/write error counts since cleaning are set to zero.

OUTTAPE

The volser is not defined in the TMC (CA 1 does not control the volser).

INTAPE

The volser is under CA 1® Tape Management control and is to be initialized. The Volume record in the TMC reflects that the record must be in inactive (DELETE) and scratch status. Once the record is initialized, the inactive status is turned off and the BTHDATE (birth date) field is set to the date of initialization. All eight read/write error count fields are set to zero.