Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Initialize Media using BRM (INZMEDBRM) command prepares media for use in the BRMS system. This command is used to initialize a volume with a standard volume label for standard label magnetic volume processing.
Note: It is recommended that you use the INZMEDBRM command in place of the i5/OS INZTAP command. To assure the protection of media, BRMS disables INZTAP CHECK(*NO) for users who do not have *SECADM, *SECOFR, *SERVICE or *SAVSYS authority. Unlike users of INZTAP, users of INZMEDBRM do not need these levels of authority in order to use the CHECK(*NO) option.
Virtual tape media and devices can be used with this command. The following restrictions apply to the use of virtual media and virtual devices.
To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DEV | Device | Name | Required, Positional 1 |
NEWVOL | New volume identifier | Character value | Required, Positional 2 |
MEDCLS | Media class | Name | Required, Positional 3 |
NEWOWNID | New owner identifier | Character value, *BLANK | Optional |
VOL | Volume identifier | Character value, *MOUNTED | Optional |
CHECK | Check for active files | *YES, *FIRST, *NO | Optional |
CODE | Code | *EBCDIC, *ASCII | Optional |
ENDOPT | End of tape option | *REWIND, *UNLOAD | Optional |
CLEAR | Clear | *NO, *YES | Optional |
Top |
Specifies the name of the device which is used to initialize the volume. The device name must be defined in the BRMS device table.
This is a required parameter.
Top |
Specifies the volume identifier for a volume being initialized for use as a BRMS volume.
New volume identifier is a required field.
This is a required parameter.
Top |
The MEDCLS parameter defines the density used to format the volume. It does not define the media class the volume is assigned. Use the CHGMEDBRM command to change the media class assignment of the volume.
This is a required parameter.
Top |
Specifies the volume owner's identifier to write in the volume label of the volume being written.
Top |
Specifies the existing volume identifier of the volume being initialized for use or indicates that the volume currently on the magnetic device should be initialized for use.
Top |
Specifies whether a labeled 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.
Top |
Specifies the character code in which the volume label is written. All data that is not save/restore data written after the label must be in the same code; codes cannot be intermixed on a volume that is not a save/restore volume.
Top |
Specifies whether the volume is only rewound, or rewound and unloaded after it has been initialized for use.
Top |
Specifies whether all labels and data are to be deleted from the volume when it is initialized for use. If the volume must be cleared of all data, it is deleted from the location of the volume label or tape marks to the end of the tape marker.
Top |
Example 1: Initializing a Volume
INZMEDBRM DEV(TAP06) NEWVOL(T00004) MEDCLS(QIC1000)
This command initializes volume T00004 using device TAP06. The volume is assigned a media class of QIC1000 and initialized using the density specified by the QIC1000 media class.
Top |
*ESCAPE Messages
Top |