Script symbols, Table 49 script symbols, Operation macro commands – HP StorageWorks XP Remote Web Console Software User Manual

Page 179: Create pairs, 49 script symbols

Advertising
background image

TrueCopy for z/OS user guide 179

Script Symbols

Symbols can be used in a script to enhance or limit the power of each script command. The following table

lists and describes the symbols that can be used in a script.

Operation Macro Commands

The functional macros are the script equivalents of the following TC390 pair operations:

Create pairs (see page 180)

Delete pairs (see page 182)

Suspend pairs (see page 183)

Resume pairs (see page 184)

Change pair options (see page 185)

Start pairs (see page 186)

Get pair status (see page 186)

Select pair devices (see page 186)

Create Pairs

Use the CreateHrcPair command to establish new TC390 volume pairs.

NOTE:

The CreateHrcPair command only creates the pair. You must run the StartHrcPair command after

establishing the pair to start the remote copy process.

The CreateHrcPair parameters are:

M-VOL device list (numeric): C x 0x100 + VV, where C=CU#, VV=vol# within CU.

Serial number list (string): RCU serial number (serial number is five digits decimal 0-9). Do not specify

more than 12 RCUs.

SSID number list (numeric): RCU SSID (four digits hexadecimal 0-F).

R-VOL device list (numeric): C x 0x100 + VV, where C=CU#, VV=vol# within CU.

Initial copy pace list (string): “CP_MIDDLE” (0x01) = 3 tracks; “CP_FAST” (0x02) = 15 tracks; default =

CP_FAST.

Initial copy mode list (string): “E” (0x00) = entire; “N” (0x01) = none; default = E.

Table 49

Script symbols

Symbol

1

1. The before and after phrases are split by the above symbols. Each symbol is recognized as a single word.

Use

Quotation mark

Used to define the character constant by enclosing with it quotation marks.

Space

Used to delimit the before and after phrases.

Comma

Used to delimit the before and after phrases. This symbol must be placed by following

each macro description rule.

Brace

Used to describe a list.

Parenthesis

Only used to describe a condition in the If statement.

Exclamation mark

Used as an operator in the If statement by placing the equal sign next to it. This symbol is

not useful when used alone.

Unequal sign

Used as an operator in the If statement when used alone. When the equal sign follows,

nothing changes.

Equal sign

Used as a substitute sign when used alone. When the equal sign follows, it becomes an

operator in the If statement.

Advertising