addcga - Add cartridge groups-application relation

Purpose

Add a CARTRIDGEGROUPAPPLICATION object to the TSLM database. This object specifies that an application has access to a cartridge group. Every application needs access to at least one cartridge group in order to allocate volumes.

Syntax

addcga [-prio num] cartridgegroup_name application_name 

Parameters

-prio num
Specifies the priority of the cartridgegroup-application relation to be added. Valid values are in the range of 0...1000.
cartridgegroup_name
Specifies the name of the cartridgegroup to grant access to. The cartridgegroup should exist. Otherwise an EMM1510E error code is returned.
application_name
Specifies the name of the application to grant access to the cartridgegroup. The application should exist. Otherwise an EMM1510E error code is returned.

Results

Beyond the general error code, the following command-specific error codes are returned:

  • EMM1510E -- if a cartridgegroup or an application does not exist

Examples

addcga ArchiveGroup ERMMSystem

Related commands