Hitachi TrueCopy for IBM z/OS User and Reference Guide (T5211-96001, June 2007)
B-28 TrueCopy for z/OS Scripting
Hitachi Universal Storage Platform V TrueCopy for IBM z/OS User’s Guide
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. Table B.13
provides a description and the storage type of each work variable statement
for list and non-list types.
Table B-13 Work Variables
Variable Type Description and Storage Type
_ilDEV Numeric
Stores the device number list.
Expression: _ilDevA, _ilDevB, _ilDevC
_ilPriority Numeric
Stores the priority number list.
Expression: _ilPriorityA, _ilPriorityB, _ilPriorityC
_ilWork Numeric
Stores any 16-bit numeric values.
Expression: _ilWorkA, _ilWorkB, _ilWorkC _ilWorkD, _ilWorkE, _ilWorkF
List Type
_slWork String
Stores any strings.
Expression: _slWorkA, _slWorkB, _slWorkC, _slWorkD, _slWorkE, _slWorkF
_iNum Numeric
Stores any 16-bit numeric value.
Expression: _iNumA, _iNumB, _iNumC, _iNumD, _iNumE, _iNumF
Non-List
Type
_sMsg String
Stores any string.
Expression: _sMsgA, _sMsgB, _sMsgC, _sMsgD, _sMsgE, _sMsgF