Appendix A. Macros, Control Statements, Utilities, and Commands Syntax Reference 437
1st ed., 6/30/04 - 312579601
- You cannot increment two portions of a range element. If 111AAA is the
first element, you cannot specify 112
AAB for the second element.
- The alphabetic portion of the VOLSER range is defined as being from
character A to Z. To increment multi-character sequences, each character
increments to Z. For instance, ACZ is part of the AAA-AMM range.
Examples are:
The number of volumes in an alphabetic VOLSER range depends on the
number of elements in the incrementing portion of the VOLSER range. For an
A to Z range in each character position, the number of volumes can be
calculated by 26 to the power of the number of positions that are being
incremented.
Note: For most operator commands, a VOLSER range is limited to 100 entries.
If a large range is entered, only the first 100 VOLSERs are acted upon. If HSC
utilities are used, the entire range is processed.
A00
A0-A99A0 increments VOLSERs A00A0 through A09A0,
then A10A0 through A99A0.
9AA
9A-9ZZ9A increments VOLSERs 9AA9A through 9AZ9A,
then 9BA9A through 9ZZ9A.
111AAA
-111ZZZ increments VOLSERs 111AAA through
111AAZ, then 111ABA through 111ZZZ.
999AM
8- 999CM8 increments VOLSERs 999AM8 through
999AZ8, then 999BA8 through 999CM8
A3BZZ
9- A3CDE9 increments VOLSERs A3BZZ9 through
A3CAA9, then A3CAB9 through A3CDE9
AAAAAA
-
AAACCC
increments VOLSERs AAAAAA through
AAAAAZ, then AAAABA through AAACCC
CCCNNN
-
DDDNNN
increments VOLSERs CCCNNN through
CCCNNZ, then CCCNOA through DDDNNN
*
* Caution: This is a very large range.
A-Z
26
1
26
AA-ZZ
26
2
676
AAA-ZZZ
26
3
17,576
AAAA-ZZZZ
26
4
456,976
AAAAA-ZZZZZ
26
5
11,881,376
AAAAAA-ZZZZZZ
26
6
308,915,776