22.214.171.124 KEY Phrase
When the KEY phrase is specified, the file position indicator is
positioned at the logical record in the file whose key field satisfies the
When the KEY phrase is not specified, KEY IS EQUAL (to the prime record
key) is implied.
X >_Workstation_> Under AIX, OS/2, and Windows, the following relational
X operators are allowed in the KEY phrase:
X LESS THAN <
X NOT GREATER THAN NOT >
X LESS THAN OR EQUAL TO <= <_Workstation_<
X If you specify the KEY to be 'less than', or 'less than or equal to' the
X data item, the file position indicator is positioned to the last logical
X record currently existing in the file satisfying the comparison.
X For an indexed file, if the key that satisfies the comparison has
X duplicate entries, the file position indicator is positioned to the last
X of these entries.
When the START statement is executed, a comparison is made between the
current value in the key data-name and the corresponding key field in the
May be qualified; it may not be subscripted.
If the FILE STATUS clause is specified in the FILE-CONTROL entry, the
associated status key is updated when the START statement is executed (See
"Status Key" in topic 126.96.36.199.1).
© Copyright IBM Corp. 1991, 1998
IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.
Return to library:
IBM Hardware |
IBM System z Redbooks
How to order publications
Download IBM Library Reader |
Download IBM Softcopy Reader |
Download Adobe® Acrobat® Reader®
Download IBM Softcopy Librarian
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks
of Adobe Systems incorporated.