Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove Optical Cartridge (RMVOPTCTG) command can be used to:
Restriction: You must have *USE authority to use this command. It is shipped with *EXCLUDE public authority.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
VOL | Volume identifier | Character value, *IOSTATION, *MOUNTED, *LEASTUSED, *MAGAZINE | Required, Positional 1 |
VOLOPT | Volume description option | *REMOVE, *KEEP | Optional, Positional 2 |
MEDLOC | Media location | *IOSTATION, *MAGAZINE | Optional, Positional 3 |
RMVCTGLOC | Removed cartridge location | Character value, *NONE | Optional |
MLB | Optical media library | Name | Optional |
DEV | Optical device | Name | Optional |
Top |
Specifies the volume identifier of the optical cartridge to be removed from the optical device or media library device. For cartridges with two volumes, only one volume identifier must be specified.
Note: This value is only valid when parameter MLB is specified.
Note: This value is only valid when parameter MLB is specified.
Note: This value is only valid when parameter DEV is specified.
Note: This value is only valid when parameter MLB is specified.
Top |
Specifies whether to keep the optical volume description in the optical index database files.
Note: This parameter is valid only if a volume identifier is specified on the VOL parameter.
Note: This value is only valid for initialized volumes in media library devices. For uninitialized volumes and volumes in other optical devices, this value will be ignored and *REMOVE will be used.
Top |
Specifies the final destination of the optical volume being removed.
Note: Not all optical libraries are equipped with a bulk load magazine.
Top |
Specifies the external location of the optical cartridge after it is removed.
Note: This parameter is valid only when VOLOPT(*KEEP) is specified.
Top |
Specifies the name of the optical media library to use for the operation.
Note: This parameter is valid only when VOL(*IOSTATION), VOL(*MAGAZINE) or VOL(*LEASTUSED) is specified. This parameter is ignored when a specific volume name is specified on the VOL parameter.
Top |
Specifies the name of the optical device which is to have the volume which it contains removed from the optical index database and tray opened if supported by the device.
Note: This parameter is valid only when VOL(*MOUNTED) is specified. This parameter is ignored when a specific volume name is specified on the VOL parameter.
Top |
Example 1: Specify a Volume Identifier
RMVOPTCTG VOL(VOL01)
This command removes optical cartridge with volume identifier VOL01.
Example 2: Specify a Stand-Alone Device
RMVOPTCTG VOL(*MOUNTED) DEV(OPT01)
This command removes the volume found in the stand-alone optical device OPT01.
Example 3: Specify a Media Location of *MAGAZINE
RMVOPTCTG VOL(VOL01) MEDLOC(*MAGAZINE)
This command removes optical cartridge with volume identifier VOL01 to the bulk load magazine.
Example 4: Specify a Volume Name of *MAGAZINE
RMVOPTCTG VOL(*MAGAZINE) MLB(OPTMLB01)
This command opens the bulk load magazine so that it can be removed from the optical media library.
Top |
*ESCAPE Messages
Top |