Work Variables; Reserved Variables; Reserved Result Variables - HP XP P9500 User Manual

P9000 continuous access synchronous for mainframe systems
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

If the S/N of the connected storage system is less than a 5-digit number (for example, 00102),
input the valid digits only.
Start $Script= HRC",$Svr=102
If you want to execute the script without checking the S/N of connected storage system, do
not input any numbers for $Svr between double-quotation marks ("").
Start $Script= HRC",$Svr=""

Work variables

There are two types of work variables: list type, and non-list type. All work variables are initialized
before a script is executed.
Numeric work variables may have a value between 0x0000 and 0xffff. Numeric work variables
are initialized with 0.
A non-list string work variable may have a string with length up to 150 bytes. A list string
work variable may have strings with length up to 16 bytes each. String work variables are
initialized with a null string whose length is 0.
A list work variable may have up to 1024 items. A non-list work variable is a constant. List
work variables are initialized as empty (no items).
The work variable is part of an execution statement in a script.
description and the storage type of each work variable statement for list and non-list types.
Table 59 Work variables
List Type
Non-ListType

Reserved variables

Reserved variables include result variables (i.e., result of macro execution) and status variables
(i.e., pair status of specified volume). The reserved variables are for reference use only.

Reserved result variables

When a functional macro is executed (for example, CreateHrcPair), a result value (_Result) is issued.
Figure 19 (page 121)
120 Continuous Access Synchronous Z scripting
Variable
Type
_ilDEV
Numeric
_ilPriority
Numeric
_ilWork
Numeric
_slWork
String
_iNum
Numeric
_sMsg
String
illustrates the result statement format, and
Table 59 (page 120)
Description and storage type
Stores the device number list.
Expression: _ilDevA, _ilDevB, _ilDevC
Stores the priority number list.
Expression: _ilPriorityA, _ilPriorityB,
_ilPriorityC
Stores any 16-bit numeric values.
Expression: _ilWorkA, _ilWorkB, _ilWorkC _ilWorkD,
_ilWorkE, _ilWorkF
Stores any strings.
Expression: _slWorkA, _slWorkB, _slWorkC, _slWorkD,
_slWorkE, _slWorkF
Stores any 16-bit numeric value.
Expression: _iNumA, _iNumB, _iNumC, _iNumD, _iNumE,
_iNumF
Stores any string.
Expression: _sMsgA, _sMsgB, _sMsgC, _sMsgD, _sMsgE,
_sMsgF
Table 60 (page 121)
provides a
lists and defines

Advertisement

Table of Contents
loading

Table of Contents