6.2.32.5 VARYING Phrase
-
index-name-1
-
One of the following actions applies:
- If index-name-1 is an index for identifier-1, this index is used
for the search. Otherwise, the first (or only) index-name is
used.
- If index-name-1 is an index for another table element, then the
first (or only) index-name for identifier-1 is used for the
search; the occurrence number represented by index-name-1 is
increased by the same amount as the search index-name and at the
same time.
When the VARYING index-name-1 phrase is omitted, the first (or only)
index-name for identifier-1 is used for the search.
X If indexing is used to search a table without an INDEXED BY clause,
X correct results are ensured only if both the table defined with the
X index and the table defined without the index have table elements of
X the same length and with the same number of occurrences.
-
identifier-2
-
Must be either an index data item or an elementary integer item.
X Identifier-2 cannot be a windowed date field. Identifier-2 cannot be
subscripted by the first (or only) index-name for identifier-1.
During the search, one of the following actions applies:
- If identifier-2 is an index data item, then, whenever the search
index is increased, the specified index data item is
simultaneously increased by the same amount.
- If identifier-2 is an integer data item, then, whenever the search
index is increased, the specified data item is simultaneously
increased by 1.
© Copyright IBM Corp. 1991, 1998
IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.
Return to library:
z/OS |
z/OS.e |
TPF |
z/VSE |
z/VM |
IBM Hardware |
IBM System z Redbooks
Glossary:
IBM terminology
Publications:
How to order publications
Readers:
Download IBM Library Reader |
Download IBM Softcopy Reader |
Download Adobe® Acrobat® Reader®
Library management:
Download IBM Softcopy Librarian
Contacts:
Contact z/OS
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks
of Adobe Systems incorporated.