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

Page 195: Create pairs, 55 script symbols, T (see

Advertising
background image

Hitachi TrueCopy for z/OS user guide 195

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 195)

Delete pairs (see page 197)

Suspend pairs (see page 198)

Resume pairs (see page 199)

Change pair options (see page 200)

Start pairs (see page 201)

Get pair status (see page 201)

Select pair devices (see page 201)

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” = 3 tracks; “CP_FAST” = 15 tracks; default = CP_FAST.

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

Sync level list (string): “S0” or “Synchronous0” = sync, “S2” or “Synchronous2” = async; default = S0.

S0 and S2 cannot be specified at the same time.

Table 55

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
This manual is related to the following products: