Command reference / save

INZTAP

Initialize Tape

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.

Allowed environments: *ALL. Positional parameters: 3.

Restrictions

Parameters

DEV Dev

Specifies the name of the device in which the volume being initialized for use is placed. Specify the name of the tape or media library device. This is a required parameter.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

NEWVOL Newvol

Specifies the volume identifier for a tape being initialized for use as a standard labeled tape. If no volume identifier is specified, the tape is initialized for use as an unlabeled tape.

Type
*CHAR
Required
No
Default
*NONE
Length
6
Case
Uppercase

Suggested / special values: *NONE, *CTGID

*NONE
The tape is initialized for use as an unlabeled tape. Only tape marks are used to indicate the beginning and end of each data file on it, and the beginning and end of the volume itself.
*CTGID
The tape is initialized as a standard labeled tape. The new logical volume identifier is the same as the external identifier of the tape cartridge. Each tape within a library device must have a unique external identifier.
character-value
Specify no more than 6 characters to identify the new volume. The identifier must contain only alphanumeric characters (A through Z, $, #, @, and 0 through 9), and cannot have a prefix or contain blanks.

NEWOWNID Newownid

Specifies the identifier of the tape owner to write in the volume label.

Type
*CHAR
Required
No
Default
*BLANK
Length
14
Case
Uppercase

Suggested / special values: *BLANK

*BLANK
Text is not specified.
character-value
Specify no more than 14 characters that identify the owner of the tape. If fewer than 14 characters are specified, the field is left-justified and padded on the right with blanks.

VOL Vol

Specifies the existing volume identifier of the tape being initialized for use or indicates that the tape currently on the magnetic tape unit should be initialized for use. Note: If the device specified is a media library device, or a virtual tape device, then the volume specified should be the cartridge identifier or virtual tape volume name to be mounted and used.

Type
*CHAR
Required
No
Default
*MOUNTED
Length
6
Case
Uppercase

Suggested / special values: *MOUNTED

*MOUNTED
Any labeled or unlabeled volume that is placed in the specified tape device is initialized for use. To initialize a new or empty volume for use, *MOUNTED must be specified, and *NO must be specified on the Check for active files prompt (CHECK parameter). For a media library device, the volume to be used is the next cartridge in the category mounted by the Set Tape Category (SETTAPCGY) command. For a virtual tape device, the volume to be used is the currently mounted one, or if there is not a currently mounted volume, the next volume in loaded status in the image catalog will be used.
character-value
Specify the identifier of the labeled volume being initialized for use. This parameter value can be used only to initialize a tape for use that is already a labeled volume. If the tape on the specified device has a different volume identifier than the one specified or if it is an unlabeled volume, an error message is sent.

CHECK Check

Specifies whether a labeled tape volume should be checked for active data files before it is initialized for use. If an unlabeled volume is placed in the specified device, this parameter is ignored.

Type
*CHAR
Required
No
Default
*YES
Length
6
Case
Uppercase

Allowed values: *YES, *NO, *FIRST

*YES
All data file labels on the tape are checked. If any active files are found, the operation is ended and an error message is sent.
*NO
Tape initialization continues with no checking for active files. To initialize a new or empty volume for use, *NO must be specified here and *MOUNTED must be specified on the Volume identifier prompt (VOL parameter).
*FIRST
Only the first data file label on the tape is checked. If there are no data files on the volume or if the first data file has expired, the volume is initialized for use without checking for any other files on the tape. If the first data file has not expired, the operation is ended and an error message is sent.

DENSITY Density

Specifies the recording format of the data to be written on the tape.

Type
*CHAR
Required
No
Default
*DEVTYPE
Length
10
Case
Uppercase

Suggested / special values: *DEVTYPE

1600
The data density on the tape volume is 1,600 bits per inch, which is used for 1/2 inch reel tapes.
6250
The data density on the tape volume is 6,250 bits per inch, which is used for 1/2 inch reel tapes.
*DEVTYPE
The highest capacity density or format supported by the tape device will be used.
*CTGTYPE
The highest capacity density or format supported by the device for the mounted cartridge type will be used. If the device does not support special cartridge type information, *DEVTYPE is used.
*DAT72
The format of this tape is DAT72. It is used by 4mm cartridge tape devices that can store 36 gigabytes of data on a standard length cartridge.
*DAT160
The format of this tape is DAT160. It is used by 4mm cartridge tape devices that can store 80 gigabytes of data on a standard length cartridge.
*DAT320
The format of this tape is DAT320. It is used by 4mm cartridge tape devices that can store 160 gigabytes of data on a standard length cartridge.
*DDS3
The format of this tape is DDS3. It is used by 4mm cartridge tape devices that can store 12 gigabytes of data on a standard length cartridge.
*DDS4
The format of this tape is DDS4. It is used by 4mm cartridge tape devices that can store 20 gigabytes of data on a standard length cartridge.
*FMT3490E
The format of this tape is FMT3490E. The data density on this tape volume is formatted to support a 3490E device. This density is used for 1/2 inch cartridge tapes.
*FMT3570
The format of this tape is FMT3570. The data format is written on the tape volume with a 3570 device.
*FMT3570E
The format of this tape is FMT3570E. The data format is written on the tape volume with a 3570E device.
*FMT3590
The format of this tape is FMT3590. The data format is written on the tape volume with a 3590 device. This density is used for 1/2 inch cartridge tapes.
*FMT3590E
The format of this tape is FMT3590E. The data format is written on the tape volume with a 3590E device. This density is used for 1/2 inch cartridge tapes.
*FMT3590H
The format of this tape is FMT3590H. The data format is written on the tape volume with a 3590H device. This density is used for 1/2 inch cartridge tapes.
*FMT3592A1
The format of this tape is FMT3592A1. It is used by 3592 tape devices that can store 300 gigabytes of uncompressed data on a JA type cartridge.
FMT3592A1E
The format of this tape is FMT3592A1E. It is used by 3592 tape devices that can store 300 gigabytes of uncompressed encrypted data on a JA type cartridge.
*FMT3592A2
The format of this tape is FMT3592A2. It is used by 3592 tape devices that can store 700 gigabytes of uncompressed data on a JB type cartridge.
FMT3592A2E
The format of this tape is FMT3592A2E. It is used by 3592 tape devices that can store 700 gigabytes of uncompressed encrypted data on a JB type cartridge.
*FMT3592A3
The format of this tape is FMT3592A3. It is used by 3592 tape devices that can store 1 terabyte of uncompressed data on a JB type cartridge.
FMT3592A3E
The format of this tape is FMT3592A3E. It is used by 3592 tape devices that can store 1 terabyte of uncompressed encrypted data on a JB type cartridge.
*FMT3592A4
The format of this tape is FMT3592A4. It is used by 3592 tape devices that can store 4 terabytes of uncompressed data on a JC type cartridge.
FMT3592A4E
The format of this tape is FMT3592A4E. It is used by 3592 tape devices that can store 4 terabytes of uncompressed encrypted data on a JC type cartridge.
*FMT3592A5
The format of this tape is FMT3592A5. It is used by 3592 tape devices that can store 10 terabytes of uncompressed data on a JD type cartridge.
FMT3592A5E
The format of this tape is FMT3592A5E. It is used by 3592 tape devices that can store 10 terabytes of uncompressed encrypted data on a JD type cartridge.
*FMT3592B5
The format of this tape is FMT3592B5. It is used by 3592 tape devices that can store 15 terabytes of uncompressed data on a JD type cartridge.
FMT3592B5E
The format of this tape is FMT3592B5E. It is used by 3592 tape devices that can store 15 terabytes of uncompressed encrypted data on a JD type cartridge.
*FMT3592A6
The format of this tape is FMT3592A6. It is used by 3592 tape devices that can store 20 terabytes of uncompressed data on a JE type cartridge.
FMT3592A6E
The format of this tape is FMT3592A6E. It is used by 3592 tape devices that can store 20 terabytes of uncompressed encrypted data on a JE type cartridge.
*QIC120
The format of this tape is QIC120, which is used for 1/4 inch cartridge tapes that can hold 120 megabytes of data.
*QIC525
The format of this tape is QIC525, which is used for 1/4 inch cartridge tapes that can hold 525 megabytes of data.
*QIC1000
The format of this tape is QIC1000, which is used for 1/4 inch cartridge tapes that can hold 1200 megabytes of data.
*QIC2GB
The format of this tape is QIC2GB. It is used by 1/4 inch tape devices which can store 2.5 gigabytes of data on a standard length QIC2GB cartridge.
*QIC2DC
The format of this tape is QIC2DC. It is used to write compacted data to a 1/4 inch cartridge that supports the QIC2GB format.
*QIC4GB
The format of this tape is QIC4GB. It is used by 1/4 inch tape devices which can store 4 gigabytes of data on a standard length QIC4GB cartridge.
*QIC4DC
The format of this tape is QIC4DC. It is used to write compacted data to a 1/4 inch cartridge that supports the QIC4GB format.
*QIC5010
The format of this tape is QIC5010, which is used for 1/4 inch cartridge tapes that can hold 13.5 gigabytes of data.
*MLR3
The format of this tape is MLR3. It is used by 1/4 inch tape devices which can store 25 gigabytes of data on a standard length MLR3 cartridge.
*SLR60
The format of this tape is SLR60. It is used by 1/4 inch tape devices which can typically store 60 gigabytes of compacted data on a standard length SLR60 cartridge.
*SLR100
The format of this tape is SLR100. It is used by 1/4 inch tape devices which can typically store 100 gigabytes of compacted data on a standard length SLR100 cartridge.
*FMT5GB
The format of this tape is FMT5GB, which is used for 8 millimeter cartridge tapes that can hold 5 gigabytes of data.
*FMT7GB
The format of this tape is FMT7GB, which is used for 8 millimeter cartridge tapes that can hold 7 gigabytes of data.
*FMT20GB
The format of this tape is FMT20GB. It is used by 8 millimeter tape devices that can store 20 gigabytes of data on a standard length cartridge.
*FMT60GB
The format of this tape is FMT60GB. It is used by 8 millimeter tape devices that can store 60 gigabytes of data on a standard length cartridge.
*ULTRIUM1
The format of this tape is ULTRIUM1. It is used by 1/2 inch cartridge tape devices that can store 100 gigabytes of uncompressed data on a LTO Ultrium 1 data cartridge.
*ULTRIUM2
The format of this tape is ULTRIUM2. It is used by 1/2 inch cartridge tape devices that can store 200 gigabytes of uncompressed data on a LTO Ultrium 2 data cartridge.
*ULTRIUM3
The format of this tape is ULTRIUM3. It is used by 1/2 inch cartridge tape devices that can store 400 gigabytes of uncompressed data on a LTO Ultrium 3 data cartridge.
*ULTRIUM4
The format of this tape is ULTRIUM4. It is used by 1/2 inch cartridge tape devices that can store 800 gigabytes of uncompressed data on a LTO Ultrium 4 data cartridge.
*ULTRIUM5
The format of this tape is ULTRIUM5. It is used by 1/2 inch cartridge tape devices that can store 1.5 terabytes of uncompressed data on a LTO Ultrium 5 data cartridge.
*ULTRIUM6
The format of this tape is ULTRIUM6. It is used by 1/2 inch cartridge tape devices that can store 2.5 terabytes of uncompressed data on a LTO Ultrium 6 data cartridge.
*ULTRIUM7
The format of this tape is ULTRIUM7. It is used by 1/2 inch cartridge tape devices that can store 6 terabytes of uncompressed data on a LTO Ultrium 7 data cartridge.
*ULTRIUMM8
The format of this tape is ULTRIUMM8. It is used by 1/2 inch cartridge tape devices that can store 9 terabytes of uncompressed data on a LTO Ultrium 7 M8 data cartridge.
*ULTRIUM8
The format of this tape is ULTRIUM8. It is used by 1/2 inch cartridge tape devices that can store 12 terabytes of uncompressed data on a LTO Ultrium 8 data cartridge.
*ULTRIUM9
The format of this tape is ULTRIUM9. It is used by 1/2 inch cartridge tape devices that can store 18 terabytes of uncompressed data on a LTO Ultrium 9 data cartridge.
*VRT32K
The format of the volume is VRT32K. It is used to write data to a virtual volume using a maximum data block size of 32KB. Volumes written using this format can be duplicated to all supported tape devices.
*VRT64K
The format of the volume is VRT64K. It is used to write data to a virtual volume using a maximum data block size of 64KB. Volumes written using this format can only be duplicated to tape devices that support a maximum block size of 64KB or greater.
*VRT240K
The format of the volume is VRT240K. It is used to write data to a virtual volume using a maximum data block size of 240KB. Volumes written using this format can only be duplicated to tape devices that support a maximum block size of 240KB or greater.
*VRT256K
The format of the volume is VRT256K. It is used to write data to a virtual volume using a maximum data block size of 256KB. Volumes written using this format can only be duplicated to tape devices that support a maximum block size of 256KB or greater.
*VXA1
The format of this tape is VXA1. It is used by VXA cartridge tape devices that can store 33 gigabytes of data on a standard length cartridge.
*VXA2
The format of this tape is VXA2. It is used by VXA cartridge tape devices that can store 80 gigabytes of data on a standard length cartridge.
*VXA3
The format of this tape is VXA3. It is used by VXA cartridge tape devices that can store 160 gigabytes of data on a standard length cartridge.

CODE Code

Specifies the character code in which the volume label is written. All data that is not save data written after the label must be in the same code; codes cannot be intermixed on a tape that is not a save tape. If the tape is being initialized for use as an unlabeled tape with *NONE or no volume identifier specified on the New volume identifier prompt (NEWVOL parameter), this parameter is ignored.

Type
*CHAR
Required
No
Default
*EBCDIC
Length
7
Case
Uppercase

Allowed values: *EBCDIC, *ASCII

*EBCDIC
The volume label is written in EBCDIC and is an IBM standard label; all additional data must also be written in EBCDIC.
*ASCII
The volume label is written in ASCII and is an ANSI standard label; all additional data must also be written in ASCII.

ENDOPT Endopt

Specifies whether the tape is rewound only or rewound and unloaded after the operation ends.

Type
*CHAR
Required
No
Default
*REWIND
Length
7
Case
Uppercase

Allowed values: *REWIND, *UNLOAD

*REWIND
The tape is automatically rewound, but not unloaded, after the operation has ended.
*UNLOAD
The tape is automatically rewound and unloaded after the operation ends.

CLEAR Clear

Specifies whether all previous labels and data are deleted from the tape when it is initialized. If the volume must be cleared of all data, it is spaced from the location of the initializing volume label or tape markers to the end of the tape marker.

Type
*CHAR
Required
No
Default
*NO
Length
4
Case
Uppercase

Allowed values: *NO, *YES

*NO
Existing data is not deleted. Even though the existing data is not deleted, the data on the volume is not accessible after the volume has been initialized for use.
*YES
After the beginning of the tape has been initialized for use, the rest of the data on the tape is deleted. The *YES value is needed only if there are security concerns with the old data. If *YES is selected, the initialize operation can take a long time.

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.

IBM command documentation

Generated from os/cl/catalog/INZTAP.json and os/cl/help/INZTAP.json.