CL Command Reference - INZTAP
CL Command List > INZTAP Reference
Description:
The Initialize Tape (INZTAP) command is used to initialize magnetic tapes for use on the system. This command is used to initialize a tape with a standard volume label for standard label magnetic tape processing, or to initialize a tape with no labels for unlabeled magnetic tape processing.
Examples:
INZTAP DEV(TAPE1) NEWVOL(T00100) CHECK(*NO) CODE(*ASCII)
ENDOPT(*UNLOAD)
This command initializes the volume on the tape device named TAPE1 using the ASCII character code. Its new volume identifier is T00100, regardless of whether it contains a valid volume identifier or files that have not ended (active field). Once the volume has been initialized, the tape is rewound and unloaded. Any previous data beyond the new volume label is not deleted, but is no longer accessible.