CL Command Reference - ADDOPTCTG

CL Command List > ADDOPTCTG Reference

Description:

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.


Examples:

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.