Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Add Optical Cartridge (ADDOPTCTG) command adds an optical disk cartridge and its volume(s) to an optical library or stand alone device. An optical cartridge can be either single or double sided. Each side represents an optical volume.
A 12-character date and time stamp is assigned by the system to an uninitialized volume when it is added to the optical device. This stamp is used as the volume identifier to track each volume until it is initialized. You can keep the system-generated volume identifier or you can specify a new volume identifier when the volume is initialized.
Restriction: The user must have *USE authority to use this command. The command is shipped with *EXCLUDE public authority.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MLB | Optical device | Name | Required, Positional 1 |
AUTL | Authorization list | Name, *PRV, QOPTSEC, *NONE | Optional, Positional 2 |
DIR | Rebuild directory index | *NO, *YES | Optional |
MEDLOC | Media location | *IOSTATION, *MAGAZINE | Optional |
Top |
Specifies the name of the optical device where the optical media is to be added.
Top |
Specifies the authorization list used to verify authority to the optical cartridge and its volume(s).
Top |
Specifies whether the optical directory index is built for the optical volume(s) being added. The directory index is required to run Work with Optical Directories (WRKOPTDIR) and Display Optical (DSPOPT) when displaying directories. If not built now, the index will be built later the first time one of these commands is issued.
Top |
Specifies the location of the optical volume(s) to be added to an optical library..
Note: Not all optical libraries are equipped with a bulk load magazine.
Top |
Example 1: Specify an Authorization List
ADDOPTCTG MLB(OPTMLB01) AUTL(MYAUTH)
This command adds an optical cartridge and its volumes to the system in optical media library OPT01. The optical cartridge is secured with the authorization list MYAUTH.
Example 2: Specify a Media Location of *MAGAZINE
ADDOPTCTG MLB(OPTMLB01) AUTL(QOPTSEC) MEDLOC(*MAGAZINE)
This command adds all of the optical cartridges and volumes from the bulk load magazine to the system in optical media library OPTMLB01. All of the volumes added to optical media library OPTMLB01 will be secured by authorization list QOPTSEC.
Top |
*ESCAPE Messages
Top |