IBM Support

Changing the Allocation Status of Tape Drive Resources in a Tape Library Using CL Commands

Troubleshooting


Problem

This document describes how to change the allocation of drive resources in a tape library using CL commands or in a CL program.

Resolving The Problem

The allocation of tape drive resources in a tape media library can be changed using the WRKMLBSTS command and using Option 4 , 5, or 6. It is also possible to change the allocation status using the VRYCFG CL command .

Examples

1. This example will change the drive resource TAP01 in tape library TAPMLB01 to a status of ALLOCATED.

VRYCFG CFGOBJ(TAPMLB01) CFGTYPE(*MLBRSC) STATUS(*ALLOCATE) RSRCNAME(TAP01)

2. This example will change the drive resource TAP01 in tape library TAPMLB01 to a status of UNPROTECTED.

VRYCFG CFGOBJ(TAPMLB01) CFGTYPE(*MLBRSC) STATUS(*UNPROTECTED) RSRCNAME(TAP01)

3. This example will change the drive resource TAP01 in tape library TAPMLB01 to a status of DEALLOCATED.

VRYCFG CFGOBJ(TAPMLB01) CFGTYPE(*MLBRSC) STATUS(*DEALLOCATE) RSRCNAME(TAP01)

4. This example will change all the drive resources in tape library TAPMLB01 to a status of UNPROTECTED.

VRYCFG CFGOBJ(TAPMLB01) CFGTYPE(*MLBRSC) STATUS(*UNPROTECTED) RSRCNAME(*ALL)


o ALLOCATE

For tape, the drive resources of the tape media library device are allocated for use only by this system. If the library device is shared by multiple systems, other systems cannot use these drives while this device description is varied on. For optical, the drive resources of the optical media library device are allocated for use. The drive resources are only available for use by this media library device.

o UNPROTECTED

The drive resources of the tape media library device can be used by all systems that share this library device. Note: This value is recommended. When the drive resources are in unprotected mode, each system can access the resource at the same time. Only one system can use the resource at any point in time.

o DEALLOCATE

For tape, the drive resources of the tape media library device are deallocated for this system. If the tape media library is shared by multiple systems, the drives cannot be used by this system; however, they can be used by other systems. For optical, the drive resources of the optical media library resource are deallocated for the media library resource. The drives are not available for use by another optical media library device.

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000C4BAAU","label":"IBM i"},{"code":"a8m0z000000cwp6AAA","label":"Save Restore"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Historical Number

550876867

Document Information

Modified date:
14 November 2024

UID

nas8N1012499