CL Command Reference - CRTDEVMLB
CL Command List > CRTDEVMLB Reference
Description:
The Create Device Description (Media Library) (CRTDEVMLB) command creates a device description for a media library device.
Initially, all tape drive resources associated with this device description are allocated for use by this system. To change the allocation of drive resources within a tape library, use the Work with Media Library Status (WRKMLBSTS) command or the Vary Configuration (VRYCFG) command.
Note: Allocating drives is only allowed when DEVCLS(*TAP) is specified.
Restriction: The user of this command must have *IOSYSCFG authority.
Examples:
CRTDEVMLB DEVD(LIB01) DEVCLS(*OPT)
RSRCNAME(LIB01) ONLINE(*YES)
This command creates a device description for a media library device named LIB01. The library is an optical library and the physical resource name is LIB01. The device description is varied on at IPL.