06.11.2014 Views

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

User Interfaces<br />

6.2 DCL Interface<br />

6.2.2 Object Lists<br />

Following the object keyword, you should enter an object name. This must be the name of an<br />

already-existing object unless the verb is “Create”, in which case the object must not already<br />

exist.<br />

The qualifiers <strong>for</strong> all commands are non-positional and may appear anywhere in the command<br />

line.<br />

There are two exceptions <strong>to</strong> the general command syntax, as follows:<br />

• The Move verb takes two arguments. The first is the object name as normal, and the second<br />

is a destination object name. The destination object name is not preceded by an object keyword.<br />

An example of a Move command is:<br />

MDMS MOVE VOLUME TLZ234 TLZ_JUKE/SLOT=4<br />

• The Report verb, which takes a variable number of arguments. This verb uses the syntax of<br />

the old SLS S<strong>to</strong>rage Report Volume command. Since the Report verb does not operate on<br />

any specific object, the first argument is always the keyword “Volume”, and the other argument<br />

is a comma-separated list of display and/or selection attributes. For example:<br />

$ MDMS REPORT VOLUME VOLUME,STATE=ALLOCATED,SCRATCH_DATE,PLACEMENT,PLACNAME<br />

With this release of MDMS, all of the following commands accept a list of objects, so that you<br />

can operate on multiple objects in a single command:<br />

• CREATE<br />

• DELETE<br />

• SET<br />

• SHOW<br />

6.2.3 Qualifier List<br />

If you specify an attribute in a CREATE or SET command and use an object list, then that<br />

attribute value is applied <strong>to</strong> all objects in the list.<br />

Certain qualifiers accept a list of attributes, and the list can be applied in one of three ways using<br />

an appropriate qualifier:<br />

• /ADD - The specified value or list is added <strong>to</strong> any pre-existing list; this is the default option<br />

if you do not specify a qualifier<br />

• /REMOVE - The specified value or list is removed from any pre-existing list<br />

• /REPLACE - The specified value or list replaces any pre-existing list.<br />

Consider the following examples:<br />

MDMS CREATE GROUP COLORADO/NODES=(DENVER, SPRINGS, PUEBLO)<br />

The group Colorado contains nodes Denver, Springs and Pueblo<br />

MDMS SET GROUP COLORADO/NODE=ASPEN<br />

The group Colorado now contains nodes Denver, Springs, Pueblo and Aspen. With no list qualifier<br />

specified, /ADD is applied by default.<br />

MDMS SET GROUP COLORADO/NODE=ASPEN/REPLACE<br />

The group Colorado now contains only node Aspen.<br />

6-16 User Interfaces

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!