436 VM/HSC 6.0 System Programmer’s Guide
1st ed., 6/30/04 - 312579601
Ranges And Lists
HSC commands and utilities often allow the user to specify ranges and lists of elements.
1. An inclusive range is indicated by a pair of elements of the same length and data
type, joined by a dash. The first element must be strictly less than the second
element.
• A hexadecimal range consists of a pair of hexadecimal numbers (for example,
0A2-0AD, or 000-0FC).
• A decimal range consists of a pair of decimal numbers (for example, 1-9, or
010-094). Leading zeros are not required.
• A numeric VOLSER range (vol-range) consists of a pair of VOLSER elements
containing a decimal numeric portion of 1 to 6 digits (for example,
ABC012
-ABC025, or X123CB-X277CB). The decimal portion is referred to as
an incremental range. The following additional restrictions apply:
- The character positions of the incremental portion of both range elements
must match.
- The non-incremental characters of the first element must be identical to
those of the second element.
- You cannot increment two portions of a range element. If 111
AAA is the
first element, you cannot specify 112
AAB for the second element.
- If a VOLSER range contains more than one decimal portion, only the right
most portion is valid as the incremental range. For example:
Note: A VOLSER range for most operator commands is limited to 100 entries.
If a larger range is entered, only the first 100 VOLSERs in the range are acted
on. If HSC utilities are used, the entire range is processed.
• An alphabetic VOLSER range (vol-range) consists of a pair of VOLSER
elements containing an incremental portion of 1 to 6 characters (for example,
000AAA
-000ZZZ, or 9AAA55-9ZZZ55). This portion is referred to as an
incremental range. The following additional restrictions apply:
- The character positions of the incremental portion of both range elements
must match.
- The non-incremental characters of the first element must be identical to
those of the second element.
A00B00 the largest range that can be specified is A00B00
through A00B99.
A0B0CC the largest range that can be specified is A0B0CC
through A0B9CC.
000XXX the largest range that can be specified is 000XXX
through 999XXX.